未验证 提交 491941e4 编写于 作者: qq_25847755's avatar qq_25847755 提交者: GitHub

fix<CollapseContainer>: v-show 才不会丢失目标容器 (#2584)

上级 f1678a7c
......@@ -73,7 +73,7 @@
{props.loading ? (
<Skeleton active={props.loading} />
) : (
show.value && <div class={`${prefixCls}__body`}>{slots.default?.()}</div>
<div class={`${prefixCls}__body`} v-show={show.value}>{slots.default?.()}</div>
)}
</CollapseTransition>
</div>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册