Commit 5fc28f92d55561509bd4cf59908bcae2707659b5
Committed by
GitHub
1 parent
5ac055be
fix: 修复CollapseContainer组件按钮插槽问题,close #1555 (#1557)
Showing
1 changed file
with
1 additions
and
1 deletions
src/components/Container/src/collapse/CollapseHeader.vue
@@ -8,7 +8,7 @@ | @@ -8,7 +8,7 @@ | ||
8 | <slot name="title"></slot> | 8 | <slot name="title"></slot> |
9 | </template> | 9 | </template> |
10 | </BasicTitle> | 10 | </BasicTitle> |
11 | - <div :class="`${prefixCls}__action`" v-if="canExpan"> | 11 | + <div :class="`${prefixCls}__action`"> |
12 | <slot name="action"></slot> | 12 | <slot name="action"></slot> |
13 | <BasicArrow v-if="canExpan" up :expand="show" @click="$emit('expand')" /> | 13 | <BasicArrow v-if="canExpan" up :expand="show" @click="$emit('expand')" /> |
14 | </div> | 14 | </div> |