diff --git a/src/stores/tagsview.js b/src/stores/tagsview.js index 268d088..e3f3245 100644 --- a/src/stores/tagsview.js +++ b/src/stores/tagsview.js @@ -53,7 +53,7 @@ export const useTagsView = defineStore('tagsView',()=>{ //路由到末尾标签页 const toLastTagView = (view) => { const lastTagView = view.value.slice(-1)[0] - router.push(lastTagView.path) + router.push({path: lastTagView.path, query: lastTagView.query}) } const removeAllTagView = () => {