mirror of
https://gitee.com/vant-contrib/vant-weapp.git
synced 2025-04-06 03:58:05 +08:00
docs(Popup): update (#2065)
This commit is contained in:
parent
7724700650
commit
a43fb7f263
@ -21,9 +21,7 @@
|
||||
通过`show`属性控制弹出层是否展示
|
||||
|
||||
```html
|
||||
<van-button type="primary" bind:click="showPopup">
|
||||
展示弹出层
|
||||
</van-button>
|
||||
<van-cell title="展示弹出层" is-link bind:click="showPopup" />
|
||||
|
||||
<van-popup show="{{ show }}" bind:close="onClose">内容</van-popup>
|
||||
```
|
||||
|
Loading…
x
Reference in New Issue
Block a user