Browse Source

修改档案管理问题,恢复覆盖

dev
LUCAS 2 years ago
parent
commit
18272927da
  1. 2
      web/client/src/sections/fillion/components/fileTable.js
  2. 3
      web/client/src/sections/fillion/nav-item.js

2
web/client/src/sections/fillion/components/fileTable.js

@ -218,7 +218,7 @@ const RoadNameList = (props) => {
]; ];
useEffect(() => { useEffect(() => {
if (roads && roads instanceof Array) { if (roads && roads instanceof Array && roads.length) {
setSelectRoad(roads[0].rId) setSelectRoad(roads[0].rId)
onChange(roads[0]); onChange(roads[0]);
} }

3
web/client/src/sections/fillion/nav-item.js

@ -32,6 +32,9 @@ export function getNavItem(user, dispatch) {
<Menu.Item key="fillionpublic"> <Menu.Item key="fillionpublic">
<Link to="/fillion/public">公交管理</Link> <Link to="/fillion/public">公交管理</Link>
</Menu.Item> </Menu.Item>
<Menu.Item key="fileCont">
<Link to="/fillion/file">档案管理</Link>
</Menu.Item>
{/* <Menu.Item key="fillionvideois"> {/* <Menu.Item key="fillionvideois">
<Link to="/fillion/videois">视频管理</Link> <Link to="/fillion/videois">视频管理</Link>
</Menu.Item> */} </Menu.Item> */}

Loading…
Cancel
Save