浏览代码

docs: update tabs FAQ

林艳 9 月之前
父节点
当前提交
5ceb8a3384
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 1 1
      content/navigation/tabs/index-en-US.md
  2. 1 1
      content/navigation/tabs/index.md

+ 1 - 1
content/navigation/tabs/index-en-US.md

@@ -824,7 +824,7 @@ WAI-ARIA: https://www.w3.org/WAI/ARIA/apg/patterns/tabpanel/
 
 -   **Why typography with ellipses in Tabs doesn't work?**
 
-    Because when Tabs renders TabPane, the default is to render display: none. At this point these components cannot get the correct width or height values. It is recommended to enable lazyRender in version 1.x, or disable keepDOM. Version 0.x needs to use tabList notation.
+    Because when Tabs renders TabPane, the default is to render display: none. At this point these components cannot get the correct width or height values. It is recommended to enable lazyRender in or disable keepDOM.
 
 -   **Why are the height or width values ​​wrong when using components such as Collapse/Collapsible/Resizable Table in Tabs?**
 

+ 1 - 1
content/navigation/tabs/index.md

@@ -840,7 +840,7 @@ WAI-ARIA: https://www.w3.org/WAI/ARIA/apg/patterns/tabpanel/
 
 -   **为什么在 Tabs 中使用 Typography 的省略 ellipsis 失效?**
 
-    因为 Tabs 渲染 TabPane 时,默认是全部渲染 display: none。此时这些组件无法获取到正确的宽度或高度值。建议 1.x 的版本开启 lazyRender,或者关闭 keepDOM。0.x 的版本需要使用 tabList 的写法。
+    因为 Tabs 渲染 TabPane 时,默认是全部渲染 display: none。此时这些组件无法获取到正确的宽度或高度值。建议开启 lazyRender,或者关闭 keepDOM。
 
 -   **为什么在 Tabs 中使用 Collapse/Collapsible/Resizable Table 等组件的高度或宽度值不对?**