#Dialog 弹出框
###介绍
弹出模态框，常用于消息提示、消息确认，或在当前页面内完成特定的交互操作。
弹出框组件支持函数调用和组件调用两种方式。
### 引入

```js
import yDialog from "yesaway-wui/src/components/yDialogV2";
```

### 函数调用
yDialog 是一个函数，调用后会直接在页面中弹出相应的模态框。
```html
import yDialog from "yesaway-wui/src/components/yDialogV2";

yDialog.confirm("你好");
```


### 组件调用
```html
<y-dialog dis-global
          prop-tips-cancel="联系客服"
          :prop-uishow.sync="uiShow"
          prop-title="弹出框标题">
    <y-button topic="main"
              slot="cancel"
              plain
              text="取消文案"
              size="small"
              custom-class="y_dialog_button"></y-button>
</y-dialog>
```
```html
import yDialog from "yesaway-wui/src/components/yDialogV2";

export default {
    components: {
        yDialog
    },
    data:()=>{
        return {
            uiShow:false
        }
    },
}
```
## 代码演示
