diff --git a/src/components/NavBar/index.tsx b/src/components/NavBar/index.tsx
index 55984b4..ec4fa03 100644
--- a/src/components/NavBar/index.tsx
+++ b/src/components/NavBar/index.tsx
@@ -34,7 +34,7 @@ function Navbar({ show }: { show: boolean }) {
function handleLogout() {
setUserStatus('logout');
- logoutHooks()
+ logoutHooks();
}
function onMenuItemClick(key) {
@@ -79,6 +79,10 @@ function Navbar({ show }: { show: boolean }) {
);
+ const goHome = () => {
+ window.location.href = '/dashboard/workplace';
+ };
+
return (
@@ -88,7 +92,7 @@ function Navbar({ show }: { show: boolean }) {
height={50}
src={logoImage.src}
/>
-
工业软件组件化构建开发与运行支撑环境
+
goHome()}>工业软件组件化构建开发与运行支撑环境
diff --git a/src/components/NavBar/style/index.module.less b/src/components/NavBar/style/index.module.less
index e64f5fe..aed66d0 100644
--- a/src/components/NavBar/style/index.module.less
+++ b/src/components/NavBar/style/index.module.less
@@ -26,6 +26,7 @@
font-size: 20px;
margin-left: 10px;
font-family: 'PingFang SC';
+ cursor: pointer;
}
.right {
diff --git a/src/routes/modules/index.ts b/src/routes/modules/index.ts
index 674205e..4a91709 100644
--- a/src/routes/modules/index.ts
+++ b/src/routes/modules/index.ts
@@ -1,6 +1,6 @@
import { dashboardModule } from './dashboard';
import { sceneModule } from './scene';
-import { applicationModule } from './application';
+// import { applicationModule } from './application';
import { instanceModule } from './instance';
import { componentDevelopmentModule } from './componentDevelopment';
import { componentLibraryModule } from './componentLibrary';
@@ -12,7 +12,7 @@ import { orchestrationModule } from './orchestration';
export {
dashboardModule,
sceneModule,
- applicationModule,
+ // applicationModule,
instanceModule,
componentDevelopmentModule,
componentLibraryModule,
@@ -25,7 +25,7 @@ export {
export const moduleMap = {
dashboard: dashboardModule,
scene: sceneModule,
- application: applicationModule,
+ // application: applicationModule,
instance: instanceModule,
componentDevelopment: componentDevelopmentModule,
componentLibrary: componentLibraryModule,