perf(router): refresh (#142)

* feat: set add multiTagsCache

* perf(router): refresh

* fix(multiTags): clear storage when close other tag

Co-authored-by: lrl <742798240@qq.com>
This commit is contained in:
啝裳
2021-12-07 15:40:10 +08:00
committed by GitHub
parent d6a358e851
commit 12879f9553
5 changed files with 102 additions and 12 deletions

View File

@@ -60,7 +60,8 @@ const layout = computed(() => {
instance.$storage.sets = {
grey: instance.$config?.Grey ?? false,
weak: instance.$config?.Weak ?? false,
hideTabs: instance.$config?.HideTabs ?? false
hideTabs: instance.$config?.HideTabs ?? false,
multiTagsCache: instance.$config?.MultiTagsCache ?? false
};
}
return instance.$storage?.layout.layout;