未验证 提交 fa33c6b0 编写于 作者: C CXM 提交者: GitHub

fix: collapse canExpand (#1501)

* fix(type): fix ant-design-vue  ->

* fix: fix base64 blob

* fix: fix CollapseContainer canExpan
上级 a2b594c9
<template>
<div :class="prefixCls">
<CollapseHeader v-bind="$props" :prefixCls="prefixCls" :show="show" @expand="handleExpand">
<CollapseHeader
v-bind="$props"
:prefixCls="prefixCls"
:show="show"
@expand="canExpan ? handleExpand : undefined"
>
<template #title>
<slot name="title"></slot>
</template>
......
......@@ -8,7 +8,7 @@
<slot name="title"></slot>
</template>
</BasicTitle>
<div :class="`${prefixCls}__action`">
<div :class="`${prefixCls}__action`" v-if="canExpan">
<slot name="action"></slot>
<BasicArrow v-if="canExpan" up :expand="show" @click="$emit('expand')" />
</div>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册