luocong2016
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
5 additions and
2 deletions
-
src/components/Container/src/collapse/CollapseHeader.vue
|
|
|
@ -31,8 +31,11 @@ |
|
|
|
</BasicTitle> |
|
|
|
|
|
|
|
<div class={`${unref(_prefixCls)}__action`}> |
|
|
|
{slots.action ? slots.action() : null} |
|
|
|
{props.canExpan && <BasicArrow up expand={props.show} onClick={() => emit('expand')} />} |
|
|
|
{slots.action |
|
|
|
? slots.action({ expand: props.show, onClick: () => emit('expand') }) |
|
|
|
: props.canExpan && ( |
|
|
|
<BasicArrow up expand={props.show} onClick={() => emit('expand')} /> |
|
|
|
)} |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
); |
|
|
|
|