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)
}

View File

@@ -27,6 +27,6 @@ export const useLocaleStore = defineStore({
}
})
export function useLocaleStoreWithOut() {
export const useLocaleStoreWithOut = () => {
return useLocaleStore(store)
}

View File

@@ -91,6 +91,6 @@ export const usePermissionStore = defineStore({
}
})
export function usePermissionStoreWithOut() {
export const usePermissionStoreWithOut = () => {
return usePermissionStore(store)
}

View File

@@ -170,6 +170,6 @@ export const useTagsViewStore = defineStore({
}
})
export function useTagsViewStoreWithOut() {
export const useTagsViewStoreWithOut = () => {
return useTagsViewStore(store)
}