From 05ed941638b9635a18c704f9ec2e03202a5a0b88 Mon Sep 17 00:00:00 2001 From: lrl <742798240@qq.com> Date: Tue, 14 Dec 2021 22:04:52 +0800 Subject: [PATCH] fix: menuModel --- src/layout/components/tag/index.vue | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/layout/components/tag/index.vue b/src/layout/components/tag/index.vue index 12c591185..2a2ab5478 100644 --- a/src/layout/components/tag/index.vue +++ b/src/layout/components/tag/index.vue @@ -272,9 +272,10 @@ function dynamicRouteTag(value: string, parentPath: string): void { // 重新加载 function onFresh() { toggleClass(true, refreshButton, document.querySelector(".rotate")); - const { fullPath } = unref(route); + const { fullPath, query } = unref(route); router.replace({ - path: "/redirect" + fullPath + path: "/redirect" + fullPath, + query: query }); setTimeout(() => { removeClass(document.querySelector(".rotate"), refreshButton);