feat(Breadcrumbe): Add Breadcrumb component
style: change function to arrow function
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
@@ -27,6 +27,6 @@ export const useLocaleStore = defineStore({
|
||||
}
|
||||
})
|
||||
|
||||
export function useLocaleStoreWithOut() {
|
||||
export const useLocaleStoreWithOut = () => {
|
||||
return useLocaleStore(store)
|
||||
}
|
||||
|
||||
@@ -91,6 +91,6 @@ export const usePermissionStore = defineStore({
|
||||
}
|
||||
})
|
||||
|
||||
export function usePermissionStoreWithOut() {
|
||||
export const usePermissionStoreWithOut = () => {
|
||||
return usePermissionStore(store)
|
||||
}
|
||||
|
||||
@@ -170,6 +170,6 @@ export const useTagsViewStore = defineStore({
|
||||
}
|
||||
})
|
||||
|
||||
export function useTagsViewStoreWithOut() {
|
||||
export const useTagsViewStoreWithOut = () => {
|
||||
return useTagsViewStore(store)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user