feat: migrate ShareSheet component

This commit is contained in:
chenjiahan
2020-07-25 22:04:21 +08:00
parent 70f6146981
commit bb445b74ef
7 changed files with 35 additions and 25 deletions
+3 -3
View File
@@ -16,7 +16,7 @@ Vue.use(ShareSheet);
```html
<van-cell title="Show ShareSheet" @click="showShare = true" />
<van-share-sheet
v-model="showShare"
v-model:show="showShare"
title="Share"
:options="options"
@select="onSelect"
@@ -51,7 +51,7 @@ export default {
### Multi Line
```html
<van-share-sheet v-model="showShare" title="Share" :options="options" />
<van-share-sheet v-model:show="showShare" title="Share" :options="options" />
```
```js
@@ -80,7 +80,7 @@ export default {
```html
<van-share-sheet
v-model="showShare"
v-model:show="showShare"
:options="options"
title="Share"
description="Description"