mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-12-27 03:06:56 +08:00
1.2 KiB
1.2 KiB
Dialog组件
基础用法
:::demo
<z-button @click="handleAlertClick">alert</z-button>
<z-button @click="handleConfirmClick">confirm</z-button>
:::
API
| 参数 | 说明 | 类型 | 默认值 | 可选值 |
|---|---|---|---|---|
| title | 标题 | String | '' | |
| message | 内容 | String | '' |