From 1e441e86a5446c69830f4a13879d681103011e89 Mon Sep 17 00:00:00 2001 From: chenjiahan Date: Sat, 25 Jul 2020 22:05:47 +0800 Subject: [PATCH] docs(ActionSheet): update v-model usage --- src/action-sheet/README.md | 12 ++++++------ src/action-sheet/README.zh-CN.md | 12 ++++++------ src/share-sheet/README.md | 1 + src/share-sheet/README.zh-CN.md | 1 + 4 files changed, 14 insertions(+), 12 deletions(-) diff --git a/src/action-sheet/README.md b/src/action-sheet/README.md index 819482acd..7538e9db0 100644 --- a/src/action-sheet/README.md +++ b/src/action-sheet/README.md @@ -17,7 +17,7 @@ Use `actions` prop to set options of action-sheet. ```html - + ``` ```js @@ -47,7 +47,7 @@ export default { ```html +
Content
@@ -150,7 +150,7 @@ export default { | Attribute | Description | Type | Default | | --- | --- | --- | --- | -| v-model (value) | Whether to show ActionSheet | _boolean_ | `false` | +| v-model:show | Whether to show ActionSheet | _boolean_ | `false` | | actions | Options | _Action[]_ | `[]` | | title | Title | _string_ | - | | cancel-text | Text of cancel button | _string_ | - | diff --git a/src/action-sheet/README.zh-CN.md b/src/action-sheet/README.zh-CN.md index afd55d34b..313ce0257 100644 --- a/src/action-sheet/README.zh-CN.md +++ b/src/action-sheet/README.zh-CN.md @@ -21,7 +21,7 @@ Vue.use(ActionSheet); ```html - + ``` ```js @@ -51,7 +51,7 @@ export default { ```html +
内容
@@ -156,7 +156,7 @@ export default { | 参数 | 说明 | 类型 | 默认值 | | --- | --- | --- | --- | -| v-model (value) | 是否显示动作面板 | _boolean_ | `false` | +| v-model:show | 是否显示动作面板 | _boolean_ | `false` | | actions | 面板选项列表 | _Action[]_ | `[]` | | title | 顶部标题 | _string_ | - | | cancel-text | 取消按钮文字 | _string_ | - | diff --git a/src/share-sheet/README.md b/src/share-sheet/README.md index 8c2ebdd4d..a7b9c4724 100644 --- a/src/share-sheet/README.md +++ b/src/share-sheet/README.md @@ -110,6 +110,7 @@ export default { | Attribute | Description | Type | Default | | --- | --- | --- | --- | +| v-model:show | Whether to show ShareSheet | _boolean_ | `false` | | options | Share options | _Option[]_ | `[]` | | title | Title | _string_ | - | | cancel-text | Cancel button text | _string_ | `'Cancel'` | diff --git a/src/share-sheet/README.zh-CN.md b/src/share-sheet/README.zh-CN.md index b8987f893..ba1839c28 100644 --- a/src/share-sheet/README.zh-CN.md +++ b/src/share-sheet/README.zh-CN.md @@ -156,6 +156,7 @@ export default { | 参数 | 说明 | 类型 | 默认值 | | --- | --- | --- | --- | +| v-model:show | 是否显示分享面板 | _boolean_ | `false` | | options | 分享选项 | _Option[]_ | `[]` | | title | 顶部标题 | _string_ | - | | cancel-text | 取消按钮文字 | _string_ | `'取消'` |