Browse Source

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

Co-authored-by: xuyang.geng <xuyang.geng@gaea.com>
pull/2589/head
珍藏的小板凳 3 years ago
committed by GitHub
parent
commit
f1678a7cc0
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      src/components/Container/src/collapse/CollapseHeader.vue

1
src/components/Container/src/collapse/CollapseHeader.vue

@ -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>

Loading…
Cancel
Save