From 27e2e9cb2ec858c7bbbb31ad489c5db82ffe80ca Mon Sep 17 00:00:00 2001 From: neverland Date: Fri, 22 Nov 2019 11:08:39 +0800 Subject: [PATCH] docs: add demo link of get-container prop (#5080) --- src/action-sheet/README.zh-CN.md | 2 +- src/dialog/README.zh-CN.md | 4 ++-- src/dropdown-menu/README.zh-CN.md | 2 +- src/popup/README.zh-CN.md | 4 ++-- src/sku/README.zh-CN.md | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/action-sheet/README.zh-CN.md b/src/action-sheet/README.zh-CN.md index c74f44ce3..4867f53a1 100644 --- a/src/action-sheet/README.zh-CN.md +++ b/src/action-sheet/README.zh-CN.md @@ -136,7 +136,7 @@ export default { | lazy-render | 是否在显示弹层时才渲染节点 | *boolean* | `true` | - | | lock-scroll | 是否锁定背景滚动 | *boolean* | `true` | - | | duration | 动画时长,单位秒 | *number* | `0.3` | 2.0.3 | -| get-container | 指定挂载的节点,可以传入选择器,
或一个返回节点的函数 | *string \| () => Element* | - | - | +| get-container | 指定挂载的节点,[用法示例](#/zh-CN/popup#zhi-ding-gua-zai-wei-zhi) | *string \| () => Element* | - | - | | safe-area-inset-bottom | 是否开启底部安全区适配,[详细说明](#/zh-CN/quickstart#di-bu-an-quan-qu-gua-pei) | *boolean* | `true` | - | ### Events diff --git a/src/dialog/README.zh-CN.md b/src/dialog/README.zh-CN.md index 4a5fe6244..506916114 100644 --- a/src/dialog/README.zh-CN.md +++ b/src/dialog/README.zh-CN.md @@ -166,7 +166,7 @@ export default { | lockScroll | 是否锁定背景滚动 | *boolean* | `true` | - | | beforeClose | 关闭前的回调函数,
调用 done() 后关闭弹窗,
调用 done(false) 阻止弹窗关闭 | *(action, done) => void* | - | - | | transition | 动画类名,等价于 [transtion](https://cn.vuejs.org/v2/api/index.html#transition) 的`name`属性 | *string* | - | 2.2.6 | -| getContainer | 指定挂载的节点,可以传入选择器,
或一个返回节点的函数 | *string \| () => Element* | `body` | - | +| getContainer | 指定挂载的节点,[用法示例](#/zh-CN/popup#zhi-ding-gua-zai-wei-zhi) | *string \| () => Element* | `body` | - | ### Props @@ -194,7 +194,7 @@ export default { | lock-scroll | 是否锁定背景滚动 | *boolean* | `true` | - | | before-close | 关闭前的回调函数,
调用 done() 后关闭弹窗,
调用 done(false) 阻止弹窗关闭 | *(action, done) => void* | - | - | | transition | 动画类名,等价于 [transtion](https://cn.vuejs.org/v2/api/index.html#transition) 的`name`属性 | *string* | - | 2.2.6 | -| get-container | 指定挂载的节点,可以传入选择器,
或一个返回节点的函数 | *string \| () => Element* | - | - | +| get-container | 指定挂载的节点,[用法示例](#/zh-CN/popup#zhi-ding-gua-zai-wei-zhi) | *string \| () => Element* | - | - | ### Events diff --git a/src/dropdown-menu/README.zh-CN.md b/src/dropdown-menu/README.zh-CN.md index fad99b97a..f1b550591 100644 --- a/src/dropdown-menu/README.zh-CN.md +++ b/src/dropdown-menu/README.zh-CN.md @@ -133,7 +133,7 @@ export default { | options | 选项数组 | *Option[]* | `[]` | - | | disabled | 是否禁用菜单 | *boolean* | `false` | - | | title-class | 标题额外类名 | *string* | - | - | -| get-container | 指定弹出菜单挂载的节点,可以传入选择器,
或一个返回节点的函数 | *string \| () => Element* | - | 2.2.4 | +| get-container | 指定挂载的节点,[用法示例](#/zh-CN/popup#zhi-ding-gua-zai-wei-zhi) | *string \| () => Element* | - | 2.2.4 | ### DropdownItem Events diff --git a/src/popup/README.zh-CN.md b/src/popup/README.zh-CN.md index 637b5366a..0e0b3eb78 100644 --- a/src/popup/README.zh-CN.md +++ b/src/popup/README.zh-CN.md @@ -144,9 +144,9 @@ export default { | close-on-click-overlay | 是否在点击遮罩层后关闭 | *boolean* | `true` | - | | closeable | 是否显示关闭图标 | *boolean* | `false` | 2.2.0 | | close-icon | 关闭图标名称或图片链接 | *string* | `cross` | 2.2.0 | -| close-icon-position | 关闭图标位置,可选值为`top-left` `bottom-left` `bottom-right` | *string* | `top-right` | 2.2.2 | +| close-icon-position | 关闭图标位置,可选值为`top-left`
`bottom-left` `bottom-right` | *string* | `top-right` | 2.2.2 | | transition | 动画类名,等价于 [transtion](https://cn.vuejs.org/v2/api/index.html#transition) 的`name`属性 | *string* | - | - | -| get-container | 指定挂载的节点,可以传入选择器,
或一个返回节点的函数 | *string \| () => Element* | - | - | +| get-container | 指定挂载的节点 | *string \| () => Element* | - | - | | safe-area-inset-bottom | 是否开启底部安全区适配,[详细说明](#/zh-CN/quickstart#di-bu-an-quan-qu-gua-pei) | *boolean* | `false` | 2.2.1 | ### Events diff --git a/src/sku/README.zh-CN.md b/src/sku/README.zh-CN.md index c4668dd79..6b1c13a30 100644 --- a/src/sku/README.zh-CN.md +++ b/src/sku/README.zh-CN.md @@ -141,7 +141,7 @@ export default { | stepper-title | 数量选择组件左侧文案 | *string* | `购买数量` | - | | custom-stepper-config | 步进器相关自定义配置 | *object* | `{}` | - | | message-config | 留言相关配置 | *object* | `{}` | - | -| get-container | 指定挂载的节点,可以传入选择器,
或一个返回节点的函数 | *string \| () => Element* | - | - | +| get-container | 指定挂载的节点,[用法示例](#/zh-CN/popup#zhi-ding-gua-zai-wei-zhi) | *string \| () => Element* | - | - | | initial-sku | 默认选中的 sku,具体参考高级用法 | *object* | `{}` | - | | show-soldout-sku | 是否展示售罄的 sku,默认展示并置灰 | *boolean* | `true` | - | | safe-area-inset-bottom | 是否开启底部安全区适配,[详细说明](#/zh-CN/quickstart#di-bu-an-quan-qu-gua-pei) | *boolean* | `false` | 2.2.1 |