mirror of
https://github.com/vbenjs/vue-vben-admin.git
synced 2025-01-26 12:48:48 +08:00
parent
bb8c2dea40
commit
a78c3a305b
@ -31,8 +31,11 @@
|
|||||||
</BasicTitle>
|
</BasicTitle>
|
||||||
|
|
||||||
<div class={`${unref(_prefixCls)}__action`}>
|
<div class={`${unref(_prefixCls)}__action`}>
|
||||||
{slots.action ? slots.action() : null}
|
{slots.action
|
||||||
{props.canExpan && <BasicArrow up expand={props.show} onClick={() => emit('expand')} />}
|
? slots.action({ 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
Block a user