From ce69f6a142fb5af065e0a1ad3fa1ed2fe4c84c7d Mon Sep 17 00:00:00 2001 From: zhengkunwang <31820853+zhengkunwang223@users.noreply.github.com> Date: Tue, 19 Mar 2024 17:12:07 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=A7=A3=E5=86=B3=E5=BA=94=E7=94=A8?= =?UTF-8?q?=E5=AE=89=E8=A3=85=E5=BF=AB=E9=80=9F=E8=B7=B3=E8=BD=AC=E5=A4=B1?= =?UTF-8?q?=E8=B4=A5=E7=9A=84=E9=97=AE=E9=A2=98=20(#4236)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/layout/components/AppMain.vue | 3 +-- frontend/src/views/app-store/detail/params/index.vue | 4 +--- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/frontend/src/layout/components/AppMain.vue b/frontend/src/layout/components/AppMain.vue index fae3c94ec..d9e3d79c7 100644 --- a/frontend/src/layout/components/AppMain.vue +++ b/frontend/src/layout/components/AppMain.vue @@ -10,10 +10,9 @@ diff --git a/frontend/src/views/app-store/detail/params/index.vue b/frontend/src/views/app-store/detail/params/index.vue index 1ded8470e..bfb9cae1e 100644 --- a/frontend/src/views/app-store/detail/params/index.vue +++ b/frontend/src/views/app-store/detail/params/index.vue @@ -107,9 +107,7 @@ import { getRandomStr } from '@/utils/util'; import { GetAppService } from '@/api/modules/app'; import { Rules } from '@/global/form-rules'; import { App } from '@/api/interface/app'; -import { useRouter } from 'vue-router'; import { getDBName } from '@/utils/util'; -const router = useRouter(); interface ParamObj extends App.FromField { services: App.AppService[]; @@ -256,7 +254,7 @@ const getLabel = (row: ParamObj): string => { }; const toPage = (key: string) => { - router.push({ name: 'AppAll', query: { install: key } }); + window.location.href = '/apps/all?install=' + key; }; onMounted(() => {