fix: fixed spelling 'ElememtPlusSzie'

This commit is contained in:
jinyang
2022-04-16 09:42:40 +08:00
parent 042f4e0416
commit 5dbbc60864
6 changed files with 9 additions and 9 deletions

View File

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

View File

@@ -20,7 +20,7 @@ const appStore = useAppStore()
const sizeMap = computed(() => appStore.sizeMap)
const setCurrentSize = (size: ElememtPlusSzie) => {
const setCurrentSize = (size: ElememtPlusSize) => {
appStore.setCurrentSize(size)
}
</script>