Template
1
0
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:
GYunZhi 2025-01-08 17:45:32 +08:00 committed by GitHub
parent 0a438082a6
commit 71b2eb1054
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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) {