feat: update

This commit is contained in:
xiaoxian521
2021-10-28 21:52:21 +08:00
parent b520e234a1
commit 3851d284bf
4 changed files with 92 additions and 53 deletions

View File

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