fix: 修复CollapseContainer组件按钮插槽问题,close #1555 (#1557)

This commit is contained in:
wangxiaoer5200 2021-12-31 09:26:58 +08:00 committed by GitHub
parent 5ac055be2f
commit 5fc28f92d5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@
<slot name="title"></slot> <slot name="title"></slot>
</template> </template>
</BasicTitle> </BasicTitle>
<div :class="`${prefixCls}__action`" v-if="canExpan"> <div :class="`${prefixCls}__action`">
<slot name="action"></slot> <slot name="action"></slot>
<BasicArrow v-if="canExpan" up :expand="show" @click="$emit('expand')" /> <BasicArrow v-if="canExpan" up :expand="show" @click="$emit('expand')" />
</div> </div>