mirror of
https://gitee.com/huangge1199_admin/vue-pro.git
synced 2024-12-02 12:11:54 +08:00
fix: close all tags
This commit is contained in:
parent
47c8aad929
commit
7617fb07b3
@ -114,8 +114,8 @@ const toLastView = () => {
|
|||||||
addTags()
|
addTags()
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
// You can set another route
|
// TODO: You can set another route
|
||||||
push(permissionStore.getAddRouters[0].path)
|
push('/')
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -128,7 +128,6 @@ const moveToCurrentTag = async () => {
|
|||||||
if (v.fullPath !== unref(currentRoute).fullPath) {
|
if (v.fullPath !== unref(currentRoute).fullPath) {
|
||||||
tagsViewStore.updateVisitedView(unref(currentRoute))
|
tagsViewStore.updateVisitedView(unref(currentRoute))
|
||||||
}
|
}
|
||||||
|
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user