@ -218,7 +218,7 @@ const RoadNameList = (props) => {
];
useEffect(() => {
if (roads && roads instanceof Array) {
if (roads && roads instanceof Array && roads.length) {
setSelectRoad(roads[0].rId)
onChange(roads[0]);
}
@ -32,6 +32,9 @@ export function getNavItem(user, dispatch) {
<Menu.Item key="fillionpublic">
<Link to="/fillion/public">公交管理</Link>
</Menu.Item>
<Menu.Item key="fileCont">
<Link to="/fillion/file">档案管理</Link>
{/* <Menu.Item key="fillionvideois">
<Link to="/fillion/videois">视频管理</Link>
</Menu.Item> */}