diff --git a/web/src/layout/components/TagsView/index.vue b/web/src/layout/components/TagsView/index.vue index bf98636..d85b237 100644 --- a/web/src/layout/components/TagsView/index.vue +++ b/web/src/layout/components/TagsView/index.vue @@ -327,8 +327,10 @@ // 刷新页面 const reloadPage = () => { delKeepAliveCompName(); + const full = unref(route); router.push({ - path: '/redirect' + unref(route).fullPath, + path: '/redirect' + full.path, + query: full.query, }); };