From 980ab18076d6d7b1608b86e715f64dbe26d08dc6 Mon Sep 17 00:00:00 2001 From: neverland Date: Tue, 9 Feb 2021 21:14:08 +0800 Subject: [PATCH] docs(Popup): remove legacy tips (#8116) --- src/popup/README.zh-CN.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/popup/README.zh-CN.md b/src/popup/README.zh-CN.md index 34e9c20a3..569a3d299 100644 --- a/src/popup/README.zh-CN.md +++ b/src/popup/README.zh-CN.md @@ -118,8 +118,6 @@ export default { }; ``` -> 注意:使用 teleport 属性的组件不能为根节点 - ## API ### Props @@ -139,8 +137,8 @@ export default { | close-on-click-overlay | 是否在点击遮罩层后关闭 | _boolean_ | `true` | | closeable | 是否显示关闭图标 | _boolean_ | `false` | | close-icon | 关闭图标名称或图片链接 | _string_ | `cross` | -| close-icon-position | 关闭图标位置,可选值为`top-left`
`bottom-left` `bottom-right` | _string_ | `top-right` | -| transition | 动画类名,等价于 [transtion](https://v3.cn.vuejs.org/api/built-in-components.html#transition) 的`name`属性 | _string_ | - | +| close-icon-position | 关闭图标位置,可选值为 `top-left`
`bottom-left` `bottom-right` | _string_ | `top-right` | +| transition | 动画类名,等价于 [transtion](https://v3.cn.vuejs.org/api/built-in-components.html#transition) 的 `name` 属性 | _string_ | - | | transition-appear | 是否在初始渲染时启用过渡动画 | _boolean_ | `false` | | teleport | 指定挂载的节点 | _string \| Element_ | - | | safe-area-inset-bottom | 是否开启[底部安全区适配](#/zh-CN/advanced-usage#di-bu-an-quan-qu-gua-pei) | _boolean_ | `false` |