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