Skip to content

Commit 6dd75ba

Browse files
committed
fix: fix Button default slot render bug
1 parent 689682c commit 6dd75ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/components/button/button.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@
126126
if (this.showSlot) {
127127
slots.push(h('span', {
128128
ref: 'slot'
129-
}), this.$slots.default());
129+
}, this.$slots.default()));
130130
}
131131
132132
return h(tag, {

0 commit comments

Comments
 (0)