diff --git a/threadpool/console-new/src/App.tsx b/threadpool/console-new/src/App.tsx
index 5264d2ac..c983e76a 100644
--- a/threadpool/console-new/src/App.tsx
+++ b/threadpool/console-new/src/App.tsx
@@ -1,10 +1,10 @@
-import { Suspense } from 'react';
+// import { Suspense } from 'react';
import LayoutCom from './components/layout-com';
import { Routes, Route, Link } from 'react-router-dom';
import routeList from './route';
import Login from '@/page/login';
-import { MenuProps, Spin, ConfigProvider } from 'antd';
+import { MenuProps } from 'antd';
import { useTran } from './hooks';
import { STR_MAP } from './config/i18n/locales/constants';
import IconFont from './components/icon';
@@ -21,45 +21,17 @@ const App = () => {
{ label: {useTran(STR_MAP.THREAD_POOL)}, key: '/thread-poll/index' },
],
},
- {
- // label: {useTran(STR_MAP.LOG_MANAGE)},
- label: 租户管理,
- key: STR_MAP.TENANT_MANAGE,
- icon: ,
- },
- {
- // label: {useTran(STR_MAP.PROJECT_MANAGE)},
- label: 项目管理,
- key: STR_MAP.PROJECT_MANAGE,
- icon: ,
- },
- {
- // label: {useTran(STR_MAP.USE_RIGHT)},
- label: 用户权限,
- key: STR_MAP.USE_RIGHT,
- icon: ,
- },
- {
- // label: {useTran(STR_MAP.LOG_MANAGE)},
- label: 日志管理,
- key: STR_MAP.LOG_MANAGE,
- icon: ,
- },
];
return (
-
- }>
-
-
-
- {routeList.map(item => (
-
- ))}
-
-
-
-
+
+
+
+ {routeList.map(item => (
+
+ ))}
+
+
);
};
diff --git a/threadpool/console-new/src/config/i18n/locales/constants.ts b/threadpool/console-new/src/config/i18n/locales/constants.ts
index cee8b529..84fe02d5 100644
--- a/threadpool/console-new/src/config/i18n/locales/constants.ts
+++ b/threadpool/console-new/src/config/i18n/locales/constants.ts
@@ -17,8 +17,4 @@ export enum STR_MAP {
CREATION_TIME = 'creationTime',
UPDATE_TIME = 'update time',
EDIT = 'edit',
- TENANT_MANAGE = 'tenantManage',
- PROJECT_MANAGE = 'projectManage',
- LOG_MANAGE = 'logManage',
- USE_RIGHT = 'userRight',
}
diff --git a/threadpool/console-new/src/route/index.tsx b/threadpool/console-new/src/route/index.tsx
index a75fc16a..7a2d8897 100644
--- a/threadpool/console-new/src/route/index.tsx
+++ b/threadpool/console-new/src/route/index.tsx
@@ -3,17 +3,9 @@ import homeRouter from '@/page/home/router';
import aboutRouter from '@/page/about/router';
import ThreadPoolRouter from '@/page/thread-pool/router';
import tenantRouter from '@/page/tenant/router';
-import itemRouter from '@/page/item/router';
-import userRouter from '@/page/user/router';
-import logRouter from '@/page/log/router';
+// import itemRouter from '@/page/item/router';
+// import userRouter from '@/page/user/router';
+// import logRouter from '@/page/log/router';
-const routerList: IRouterList[] = [
- ...homeRouter,
- ...aboutRouter,
- ...tenantRouter,
- ...ThreadPoolRouter,
- ...itemRouter,
- ...userRouter,
- ...logRouter,
-];
+const routerList: IRouterList[] = [...homeRouter, ...aboutRouter, ...tenantRouter, ...ThreadPoolRouter];
export default routerList;