feat(Breadcrumbe): Add Breadcrumb component

style: change function to arrow function
This commit is contained in:
kailong321200875
2022-01-15 14:24:50 +08:00
parent 2fe9543b84
commit 4612e5544b
55 changed files with 586 additions and 270 deletions

View File

@@ -66,6 +66,9 @@ export const useAppStore = defineStore({
},
getSizeMap(): ElememtPlusSzie[] {
return this.sizeMap
},
getMobile(): boolean {
return this.mobile
}
},
actions: {
@@ -128,10 +131,13 @@ export const useAppStore = defineStore({
setSize(size: ElememtPlusSzie) {
this.size = size
wsCache.set('size', this.size)
},
setMobile(mobile: boolean) {
this.mobile = mobile
}
}
})
export function useAppStoreWithOut() {
export const useAppStoreWithOut = () => {
return useAppStore(store)
}