Parcourir la source

docs: update collapse & collapsible's lazyRender version

林艳 il y a 1 an
Parent
commit
d8de17f705

+ 1 - 1
content/show/collapse/index-en-US.md

@@ -183,7 +183,7 @@ import { IconCopy } from '@douyinfe/semi-icons';
 | keepDOM | Whether to keep the hidden panel in DOM tree, destroyed by default | boolean | `false` | 0.25.0  |
 | motion | Toggle whether to have animation | boolean | `true` | 1.4.0   |
 | expandIconPosition | Expand icon position | `left`, `right` | `right` | 1.12.0  |
-| lazyRender | Used with keepDOM, when true, the component will not be rendered when mounting                                         | boolean | `false` | 2.25.1  |
+| lazyRender | Used with keepDOM, when true, the component will not be rendered when mounting                                         | boolean | `false` | 2.54.1  |
 | style | Inline CSS style | CSSProperties | {} | -       |
 | onChange | Callback function when switching panel | function(activeKey: string \| string[], e: event) | - | -       |
 

+ 1 - 1
content/show/collapse/index.md

@@ -182,7 +182,7 @@ import { IconCopy } from '@douyinfe/semi-icons';
 | expandIconPosition | 展开图标位置 | `left`, `right` | `right` | 1.12.0 |
 | keepDOM | 是否保留隐藏的面板 DOM 树,默认销毁 | bool | `false` | 0.25.0 |
 | motion | 是否开启动画 | boolean | `true` | 1.4.0  |
-| lazyRender | 配合 keepDOM 使用,为 true 时挂载时不会渲染组件 | boolean | `false` | 2.25.1 |
+| lazyRender | 配合 keepDOM 使用,为 true 时挂载时不会渲染组件 | boolean | `false` | 2.54.1 |
 | style | 内联 CSS 样式 | CSSProperties | {} | -      |
 | onChange | 切换面板的回调 | function(activeKey: string \| string[], e: event) | 无 | -      |
 

+ 1 - 1
content/show/collapsible/index.md

@@ -216,7 +216,7 @@ import { Collapsible, Button } from '@douyinfe/semi-ui';
 | fade | 是否开启淡入淡出 | boolean | false   | 2.21.0 |
 | isOpen | 是否展开内容区域 | boolean | `false` | -      |
 | keepDOM | 是否保留隐藏的面板 DOM 树,默认销毁 | boolean | `false` | 0.25.0 |
-| lazyRender | 配合 keepDOM 使用,为 true 时挂载时不会渲染组件 | boolean | `false` | 2.25   |
+| lazyRender | 配合 keepDOM 使用,为 true 时挂载时不会渲染组件 | boolean | `false` | 2.54.0   |
 | motion | 是否开启动画 | boolean | `true`  | -      |
 | onMotionEnd | 动画结束的回调 | () => void | -       | -      |
 | reCalcKey | 当 reCalcKey 改变时,将重新计算子节点的高度,用于优化动态渲染时的计算 | number \| string | -       | 1.5.0  |