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

@@ -69,10 +69,10 @@ export const useAppStore = defineStore({
getIsDark(): boolean {
return this.isDark
},
getCurrentSize(): ElememtPlusSzie {
getCurrentSize(): ElememtPlusSize {
return this.currentSize
},
getSizeMap(): ElememtPlusSzie[] {
getSizeMap(): ElememtPlusSize[] {
return this.sizeMap
},
getMobile(): boolean {
@@ -150,7 +150,7 @@ export const useAppStore = defineStore({
}
wsCache.set('isDark', this.isDark)
},
setCurrentSize(currentSize: ElememtPlusSzie) {
setCurrentSize(currentSize: ElememtPlusSize) {
this.currentSize = currentSize
wsCache.set('currentSize', this.currentSize)
},