docs(Popup): update (#2065)

This commit is contained in:
neverland 2019-09-19 17:55:26 +08:00 committed by GitHub
parent 7724700650
commit a43fb7f263
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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>
```