From 572029b82108f8d013990589edbf3ec6c1e2dcff Mon Sep 17 00:00:00 2001 From: ronger Date: Wed, 6 Mar 2024 16:30:56 +0800 Subject: [PATCH] =?UTF-8?q?fix(component):=20=E4=BF=AE=E5=A4=8D=E5=90=8E?= =?UTF-8?q?=E7=AB=AF=E5=88=B7=E6=96=B0=E4=B8=A2=E5=A4=B1=E5=8F=82=E6=95=B0?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/admin.vue | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/pages/admin.vue b/pages/admin.vue index d5bd9a0..d6e9635 100644 --- a/pages/admin.vue +++ b/pages/admin.vue @@ -189,11 +189,13 @@ export default { _ts.$store.commit('admin/pushTags', _ts.menus[index]) reset = '1' } + let params = _ts.$route.params + params.reset = reset + let query = _ts.$route.query _ts.$router.push({ name: item, - params: { - reset: reset - } + params, + query }) }, handleSelectMenu(item) {