chore: 删除无用依赖

This commit is contained in:
kailong321200875
2023-08-16 10:24:31 +08:00
parent 5b4defa8c4
commit 71b0e4f6f6
8 changed files with 43 additions and 61 deletions

View File

@@ -36,6 +36,7 @@ export const useTagsViewStore = defineStore('tagsView', {
},
// 新增tag
addVisitedView(view: RouteLocationNormalizedLoaded) {
console.log(view)
if (this.visitedViews.some((v) => v.path === view.path)) return
if (view.meta?.noTagsView) return
this.visitedViews.push(