From fb0b297234cadf303974d63f03fa0dec460dabc9 Mon Sep 17 00:00:00 2001 From: RubyLiu Date: Mon, 5 Feb 2024 16:19:52 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E9=AB=98=E7=BA=A7=E6=90=9C=E7=B4=A2?= =?UTF-8?q?=E6=B8=85=E7=A9=BA&=E6=97=A0=E9=A1=B9=E7=9B=AE=E7=BB=84?= =?UTF-8?q?=E4=BB=B6=E8=B7=B3=E8=BD=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/App.vue | 4 +++- .../components/pure/ms-advance-filter/index.vue | 15 ++++++++------- frontend/src/views/bug-management/index.vue | 5 ++--- frontend/src/views/bug-management/recycle.vue | 2 ++ 4 files changed, 15 insertions(+), 11 deletions(-) diff --git a/frontend/src/App.vue b/frontend/src/App.vue index ede3e8e7b8..50ac3ae5bc 100644 --- a/frontend/src/App.vue +++ b/frontend/src/App.vue @@ -79,7 +79,9 @@ const res = await getProjectInfo(appStore.currentProjectId); if (res && (res.deleted || !res.enable)) { // 如果项目被删除或者被禁用,跳转到无项目页面 - router.push(NO_PROJECT_ROUTE_NAME); + router.push({ + name: NO_PROJECT_ROUTE_NAME, + }); return; } appStore.setCurrentMenuConfig(res?.moduleIds || []); diff --git a/frontend/src/components/pure/ms-advance-filter/index.vue b/frontend/src/components/pure/ms-advance-filter/index.vue index d72fb02f93..07ef59fd8d 100644 --- a/frontend/src/components/pure/ms-advance-filter/index.vue +++ b/frontend/src/components/pure/ms-advance-filter/index.vue @@ -3,14 +3,14 @@