mirror of
https://github.com/un-pany/v3-admin-vite.git
synced 2025-04-22 03:49:19 +08:00
fix: 修复是否缓存标签栏配置异常
This commit is contained in:
parent
0a438082a6
commit
71b2eb1054
@ -30,6 +30,7 @@ export const useTagsViewStore = defineStore("tags-view", () => {
|
||||
}
|
||||
|
||||
const addCachedView = (view: TagView) => {
|
||||
if (!cacheTagsView) return
|
||||
if (typeof view.name !== "string") return
|
||||
if (cachedViews.value.includes(view.name)) return
|
||||
if (view.meta?.keepAlive) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user