diff --git a/web/client/src/sections/facility/containers/monitor.jsx b/web/client/src/sections/facility/containers/monitor.jsx
index 6dfa6cf..1cccd01 100644
--- a/web/client/src/sections/facility/containers/monitor.jsx
+++ b/web/client/src/sections/facility/containers/monitor.jsx
@@ -16,12 +16,12 @@ const Server = (props) => {
{/*
*/}
{/*
*/}
-
+
+ {/*
*/}
>
)
}
-
function mapStateToProps (state) {
const { auth, global, members, webSocket } = state;
return {
diff --git a/web/client/src/sections/facility/index.js b/web/client/src/sections/facility/index.js
index ddcb65f..d6afe13 100644
--- a/web/client/src/sections/facility/index.js
+++ b/web/client/src/sections/facility/index.js
@@ -6,10 +6,10 @@ import actions from './actions';
import { getNavItem } from './nav-item';
export default {
- key: 'facility',
- name: '设备',
- reducers: reducers,
- routes: routes,
- actions: actions,
- getNavItem: getNavItem
+ key: 'facility',
+ name: '设备',
+ reducers: reducers,
+ routes: routes,
+ actions: actions,
+ getNavItem: getNavItem
};
\ No newline at end of file
diff --git a/web/client/src/sections/facility/nav-item.jsx b/web/client/src/sections/facility/nav-item.jsx
index 300bcc0..a4b1e31 100644
--- a/web/client/src/sections/facility/nav-item.jsx
+++ b/web/client/src/sections/facility/nav-item.jsx
@@ -21,9 +21,9 @@ export function getNavItem (user, dispatch) {
itemKey: 'serverInformation',
text: '服务器信息',
icon: ,
- to: '/facility/serverInformation/monitor',
+ to: '/facility/serverInformation',
items: [{
- itemKey: 'monitor', to: '/facility/serverInformation/monitor', text: '运维监控'
+ itemKey: 'monitor', to: '/facility/serverInformation/monitor', text: 运维监控
},{
itemKey: 'maintenanceRecords', to: '/facility/serverInformation/maintenanceRecords', text: '维护记录'
}]
@@ -40,4 +40,5 @@ export function getNavItem (user, dispatch) {
},
]
);
-}
\ No newline at end of file
+}
+