Skip to content

Commit 2da8c22

Browse files
committed
refactor(CCollapse): Non-function value encountered for default slot
1 parent 6401fbe commit 2da8c22

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/components/collapse/CCollapse.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ const CCollapse = defineComponent({
5757
onLeave: (el, done) => handleLeave(el, done),
5858
onAfterLeave: (el) => handleAfterLeave(el),
5959
},
60-
[
60+
() =>
6161
withDirectives(
6262
h(
6363
'div',
@@ -73,7 +73,6 @@ const CCollapse = defineComponent({
7373
),
7474
[[vShow, props.visible]],
7575
),
76-
],
7776
)
7877
},
7978
})

0 commit comments

Comments
 (0)