chore: migrate vue3.3

This commit is contained in:
zhuzhengjian
2023-04-27 11:30:19 +08:00
parent 7f296bc378
commit b486c0ae40
4 changed files with 137 additions and 134 deletions

View File

@ -84,7 +84,7 @@ const Space = defineComponent({
return () => {
const { align, direction, rootClassName, split, wrap } = props
const childNodes = filterEmpty(slots.default?.())
const childNodes = filterEmpty(slots.default?.() as any)
const mergedAlign =
align === undefined && direction === 'horizontal' ? 'center' : align
const cn = classNames(