fix: 修复Container中头部组件插槽中的action不生效的问题 (#2582)
Co-authored-by: xuyang.geng <xuyang.geng@gaea.com>
This commit is contained in:
parent
ed8cffb2a1
commit
f1678a7cc0
|
|
@ -31,6 +31,7 @@
|
||||||
</BasicTitle>
|
</BasicTitle>
|
||||||
|
|
||||||
<div class={`${unref(_prefixCls)}__action`}>
|
<div class={`${unref(_prefixCls)}__action`}>
|
||||||
|
{slots.action ? slots.action() : null}
|
||||||
{props.canExpan && <BasicArrow up expand={props.show} onClick={() => emit('expand')} />}
|
{props.canExpan && <BasicArrow up expand={props.show} onClick={() => emit('expand')} />}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue