From 3b92254b54d855d762cb893ce98587c210adfcdc Mon Sep 17 00:00:00 2001 From: awenes <1121353141@qq.com> Date: Thu, 4 Apr 2024 22:46:09 +0800 Subject: [PATCH] =?UTF-8?q?:zap:=20=E4=BC=98=E5=8C=96=E5=BA=94=E7=94=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/console-fe/src/pages/app/AppCreate/AppCreate.tsx | 2 +- .../pages/app/AppDetail/components/AppConfig/AppConfig.tsx | 2 +- .../src/main/console-fe/src/pages/app/AppList/AppList.tsx | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/eiam-console/src/main/console-fe/src/pages/app/AppCreate/AppCreate.tsx b/eiam-console/src/main/console-fe/src/pages/app/AppCreate/AppCreate.tsx index a13c62db..2de196c5 100644 --- a/eiam-console/src/main/console-fe/src/pages/app/AppCreate/AppCreate.tsx +++ b/eiam-console/src/main/console-fe/src/pages/app/AppCreate/AppCreate.tsx @@ -108,7 +108,7 @@ const CreateApp = (props: { onOk: () => { successModal.destroy(); history.push( - `/app/detail?id=${result.id}&name=${values.name}&protocol=${protocol}`, + `/app/list/detail?id=${result.id}&name=${values.name}&protocol=${protocol}`, ); }, }); diff --git a/eiam-console/src/main/console-fe/src/pages/app/AppDetail/components/AppConfig/AppConfig.tsx b/eiam-console/src/main/console-fe/src/pages/app/AppDetail/components/AppConfig/AppConfig.tsx index 2d20068a..b5886eef 100644 --- a/eiam-console/src/main/console-fe/src/pages/app/AppDetail/components/AppConfig/AppConfig.tsx +++ b/eiam-console/src/main/console-fe/src/pages/app/AppDetail/components/AppConfig/AppConfig.tsx @@ -116,7 +116,7 @@ const AppBasic = (props: { app: GetApp }) => { if (success) { useApp.message.success(intl.formatMessage({ id: 'app.operation_success' })); history.replace( - `/app/detail?id=${query.id}&name=${params.name}&protocol=${query.protocol}&type=${query.type}`, + `/app/list/detail?id=${query.id}&name=${params.name}&protocol=${query.protocol}&type=${query.type}`, ); return Promise.resolve(true); } diff --git a/eiam-console/src/main/console-fe/src/pages/app/AppList/AppList.tsx b/eiam-console/src/main/console-fe/src/pages/app/AppList/AppList.tsx index a2087b5e..1ebeaeb0 100644 --- a/eiam-console/src/main/console-fe/src/pages/app/AppList/AppList.tsx +++ b/eiam-console/src/main/console-fe/src/pages/app/AppList/AppList.tsx @@ -102,7 +102,7 @@ export default () => { { history.push( - `/app/detail?id=${row.id}&protocol=${row.protocol}&name=${row.name}`, + `/app/list/detail?id=${row.id}&protocol=${row.protocol}&name=${row.name}`, ); }} > @@ -176,7 +176,7 @@ export default () => { { - history.push(`/app/detail?id=${row.id}`); + history.push(`/app/list/detail?id=${row.id}`); }} > {intl.formatMessage({ id: 'pages.app.list.actions.detail' })}