Browse Source

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

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

* fix: fix base64 blob

* fix: fix CollapseHeader canExpan bug
CXM 3 years ago
parent
commit
c8d59a0bbc
1 changed files with 1 additions and 6 deletions
  1. 1 6
      src/components/Container/src/collapse/CollapseContainer.vue

+ 1 - 6
src/components/Container/src/collapse/CollapseContainer.vue

@@ -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>