mirror of
https://github.com/antd-tiny-vue/antd-tiny-vue.git
synced 2025-07-04 11:03:15 +08:00
chore: migrate vue3.3
This commit is contained in:
@ -148,7 +148,7 @@ const Button = defineComponent({
|
||||
return () => {
|
||||
const { shape, rootClassName, ghost, type, block, danger } = props
|
||||
const icon = getSlotsProps(slots, props, 'icon')
|
||||
const children = filterEmpty(slots.default?.())
|
||||
const children = filterEmpty(slots.default?.() as any)
|
||||
isNeedInserted =
|
||||
children.length === 1 &&
|
||||
!slots.icon &&
|
||||
|
Reference in New Issue
Block a user