mirror of
https://github.com/vbenjs/vue-vben-admin.git
synced 2025-01-25 02:58:43 +08:00
fix: collapse canExpand (#1501)
* fix(type): fix ant-design-vue -> * fix: fix base64 blob * fix: fix CollapseContainer canExpan
This commit is contained in:
parent
a2b594c962
commit
fa33c6b0d7
@ -1,6 +1,11 @@
|
||||
<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>
|
||||
|
Loading…
Reference in New Issue
Block a user