From 49f4bba1f97b0b98ba1da72a8a1e8c136dfc83af Mon Sep 17 00:00:00 2001 From: neverland Date: Fri, 22 Nov 2019 10:47:19 +0800 Subject: [PATCH] docs: add tips of get-contaienr in root node (#5078) --- src/popup/README.md | 2 ++ src/popup/README.zh-CN.md | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/popup/README.md b/src/popup/README.md index cd44aeba1..d0841105c 100644 --- a/src/popup/README.md +++ b/src/popup/README.md @@ -112,6 +112,8 @@ export default { } ``` +> Tips: The get-container prop cannot be used on the root node + ## API ### Props diff --git a/src/popup/README.zh-CN.md b/src/popup/README.zh-CN.md index a6e2378fb..637b5366a 100644 --- a/src/popup/README.zh-CN.md +++ b/src/popup/README.zh-CN.md @@ -123,6 +123,8 @@ export default { } ``` +> 注意:使用 get-container 属性的组件不能为根节点 + ## API ### Props