fix: 修复TS类型错误

This commit is contained in:
kailong321200875
2023-01-16 14:45:39 +08:00
parent 2800fb81c7
commit 1c06a27b90
7 changed files with 29 additions and 28 deletions

View File

@@ -14,7 +14,7 @@ const { variables } = useDesign()
const appStore = useAppStore()
const props = defineProps({
size: propTypes.oneOf<ElementPlusSize[]>(['default', 'small', 'large']).def('default')
size: propTypes.oneOf<ElementPlusSize>(['default', 'small', 'large']).def('default')
})
provide('configGlobal', props)