fix: 修复关闭其他 后地址参数清空bug

This commit is contained in:
lilinyuan
2024-08-07 17:02:58 +08:00
parent 9ed6fc1b94
commit 892e9c01f1

View File

@@ -44,9 +44,9 @@ export const useTagsView = defineStore('tagsView',()=>{
}
//删除其他标签页
const delOtherVisitedViews = ({path,meta}) => {
const delOtherVisitedViews = ({path,meta,query}) => {
visitedViews.value = []
visitedViews.value.push({path,meta})
visitedViews.value.push({path,meta,query})
toLastTagView(visitedViews)
}