feat: 添加前端单点登录

This commit is contained in:
xiaoxian521
2022-11-21 16:22:17 +08:00
parent 9b62d6ef1e
commit b10c3eb1bb
6 changed files with 79 additions and 17 deletions

View File

@@ -11,11 +11,11 @@ export const useMultiTagsStore = defineStore({
state: () => ({
// 存储标签页信息(路由信息)
multiTags: storageLocal.getItem<StorageConfigs>("responsive-configure")
.multiTagsCache
?.multiTagsCache
? storageLocal.getItem<StorageConfigs>("responsive-tags")
: [...routerArrays],
multiTagsCache: storageLocal.getItem<StorageConfigs>("responsive-configure")
.multiTagsCache
?.multiTagsCache
}),
getters: {
getMultiTagsCache() {