docs(SheetSheet): add verstion tag

This commit is contained in:
chenjiahan 2020-06-04 17:13:56 +08:00
parent 94c2aa23a7
commit 2db2a0615b
2 changed files with 6 additions and 6 deletions

View File

@ -128,7 +128,7 @@ export default {
| Key | Description | Type |
| --- | --- | --- |
| name | Option name | _string_ |
| description | Option description | _string_ |
| description `v2.8.5` | Option description | _string_ |
| icon | Option iconcan be set to `wechat` `weibo` `qq` `link` `qrcode` `poster` or image URL | _string_ |
### Events

View File

@ -56,7 +56,7 @@ export default {
### 展示多行选项
当分享选项的数量较多时,可以将`options`定义为数组嵌套的格式,每个子数组会作为一行选项展示
当分享选项的数量较多时,可以将 `options` 定义为数组嵌套的格式,每个子数组会作为一行选项展示
```html
<van-share-sheet
@ -90,7 +90,7 @@ export default {
### 自定义图标
除了使用内置的几种图标外,可以直接在`icon`中传入图片 URL 来使用自定义的图标
除了使用内置的几种图标外,可以直接在 `icon` 中传入图片 URL 来使用自定义的图标
```html
<van-share-sheet v-model="showShare" :options="options" />
@ -122,7 +122,7 @@ export default {
### 展示描述信息
通过`description`属性可以设置标题下方的描述文字, 给`options`属性设置`description`可以添加分享选项描述
通过 `description` 属性可以设置标题下方的描述文字, 在 `options` 内设置 `description` 属性可以添加分享选项描述。
```html
<van-share-sheet
@ -176,7 +176,7 @@ export default {
| 键名 | 说明 | 类型 |
| --- | --- | --- |
| name | 分享渠道名称 | _string_ |
| description | 分享选项描述 | _string_ |
| description `v2.8.5` | 分享选项描述 | _string_ |
| icon | 图标,可选值为 `wechat` `weibo` `qq` `link` `qrcode` `poster`,支持传入图片 URL | _string_ |
### Events