fix "fix: collapse canExpand (#1501)" (#1525)

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

* fix: fix base64 blob

* fix: fix CollapseHeader canExpan bug
This commit is contained in:
CXM
2021-12-28 18:46:38 +08:00
committed by GitHub
parent 2423aeab64
commit c8d59a0bbc

View File

@@ -1,11 +1,6 @@
<template>
<div :class="prefixCls">
<CollapseHeader
v-bind="$props"
:prefixCls="prefixCls"
:show="show"
@expand="canExpan ? handleExpand : undefined"
>
<CollapseHeader v-bind="props" :prefixCls="prefixCls" :show="show" @expand="handleExpand">
<template #title>
<slot name="title"></slot>
</template>