fix: 修复Container中头部组件插槽中的action不生效的问题 (#2582)

Co-authored-by: xuyang.geng <xuyang.geng@gaea.com>
This commit is contained in:
珍藏的小板凳 2023-02-27 12:50:36 +08:00 committed by GitHub
parent ed8cffb2a1
commit f1678a7cc0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -31,6 +31,7 @@
</BasicTitle>
<div class={`${unref(_prefixCls)}__action`}>
{slots.action ? slots.action() : null}
{props.canExpan && <BasicArrow up expand={props.show} onClick={() => emit('expand')} />}
</div>
</div>