mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
[Doc] fix dialog document (#1124)
This commit is contained in:
parent
e95107f14c
commit
d2ef10991c
@ -92,8 +92,8 @@ If you need to render vue components within a dialog, you can use dialog compone
|
|||||||
<van-field
|
<van-field
|
||||||
v-model="password"
|
v-model="password"
|
||||||
type="password"
|
type="password"
|
||||||
:label="Password"
|
label="Password"
|
||||||
:placeholder="Password"
|
placeholder="Password"
|
||||||
/>
|
/>
|
||||||
</van-dialog>
|
</van-dialog>
|
||||||
```
|
```
|
||||||
@ -144,4 +144,4 @@ export default {
|
|||||||
| Event | Description | Parameters |
|
| Event | Description | Parameters |
|
||||||
|-----------|-----------|-----------|
|
|-----------|-----------|-----------|
|
||||||
| confirm | Triggered when click confirm button | - |
|
| confirm | Triggered when click confirm button | - |
|
||||||
| cancel | Triggered when click cancel button | - |
|
| cancel | Triggered when click cancel button | - |
|
||||||
|
@ -98,8 +98,8 @@ export default {
|
|||||||
<van-field
|
<van-field
|
||||||
v-model="password"
|
v-model="password"
|
||||||
type="password"
|
type="password"
|
||||||
:label="密码"
|
label="密码"
|
||||||
:placeholder="请输入密码"
|
placeholder="请输入密码"
|
||||||
/>
|
/>
|
||||||
</van-dialog>
|
</van-dialog>
|
||||||
```
|
```
|
||||||
@ -149,4 +149,4 @@ export default {
|
|||||||
| 事件 | 说明 | 回调参数 |
|
| 事件 | 说明 | 回调参数 |
|
||||||
|-----------|-----------|-----------|
|
|-----------|-----------|-----------|
|
||||||
| confirm | 点击确认按钮时触发 | - |
|
| confirm | 点击确认按钮时触发 | - |
|
||||||
| cancel | 点击取消按钮时触发 | - |
|
| cancel | 点击取消按钮时触发 | - |
|
||||||
|
Loading…
x
Reference in New Issue
Block a user