|
@ -16,10 +16,10 @@ const Header = ({ dispatch, actions, user, module, setModule, history }) => { |
|
|
const tabKey = sessionStorage.getItem('tabKey'); |
|
|
const tabKey = sessionStorage.getItem('tabKey'); |
|
|
if (tabKey) { |
|
|
if (tabKey) { |
|
|
setTabs([ |
|
|
setTabs([ |
|
|
|
|
|
{ title: '视频监控', key: 'video' }, |
|
|
{ title: '能耗监测', key: 'capacity' }, |
|
|
{ title: '能耗监测', key: 'capacity' }, |
|
|
{ title: '电排远控', key: 'electrical' }, |
|
|
{ title: '电排远控', key: 'electrical' }, |
|
|
{ title: '实时监测', key: 'realTime' }, |
|
|
{ title: '实时监测', key: 'realTime' }, |
|
|
{ title: '视频监控', key: 'video' }, |
|
|
|
|
|
]) |
|
|
]) |
|
|
}; |
|
|
}; |
|
|
}, []) |
|
|
}, []) |
|
|