fix: update

This commit is contained in:
xiaoxian521
2021-11-04 20:34:59 +08:00
parent 57e32bab16
commit c18dbea3cd
2 changed files with 5 additions and 6 deletions

View File

@@ -24,8 +24,7 @@ export const useAppStore = defineStore({
},
// 这里的layout用于监听容器拖拉后恢复对应的导航模式
layout:
storageLocal.getItem("responsive-layout")?.layout?.layout ??
getConfig().Layout,
storageLocal.getItem("responsive-layout")?.layout ?? getConfig().Layout,
device: deviceDetection() ? "mobile" : "desktop"
}),
getters: {