From 61d7fce17c97a2ed4d86b80020f3bd08e1af3a9d Mon Sep 17 00:00:00 2001 From: yikai Date: Sun, 24 Sep 2023 12:08:35 +0800 Subject: [PATCH] fix active router --- threadpool/console-new/src/App.tsx | 8 ++++---- threadpool/console-new/src/page/log/index.tsx | 1 - 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/threadpool/console-new/src/App.tsx b/threadpool/console-new/src/App.tsx index 52ecb4b8..08f5e2b3 100644 --- a/threadpool/console-new/src/App.tsx +++ b/threadpool/console-new/src/App.tsx @@ -21,22 +21,22 @@ const App = () => { }, { label: {useTran(STR_MAP.TENANT_MANAGE)}, - key: STR_MAP.TENANT_MANAGE, + key: '/tenant', icon: , }, { label: {useTran(STR_MAP.PROJECT_MANAGE)}, - key: STR_MAP.PROJECT_MANAGE, + key: '/item', icon: , }, { label: {useTran(STR_MAP.USER_MANAGE)}, - key: STR_MAP.USER_MANAGE, + key: '/user', icon: , }, { label: {useTran(STR_MAP.LOG_MANAGE)}, - key: STR_MAP.LOG_MANAGE, + key: '/log', icon: , }, ]; diff --git a/threadpool/console-new/src/page/log/index.tsx b/threadpool/console-new/src/page/log/index.tsx index 0bcfcde4..eb120e05 100644 --- a/threadpool/console-new/src/page/log/index.tsx +++ b/threadpool/console-new/src/page/log/index.tsx @@ -96,7 +96,6 @@ const Tenant: React.FC = () => {