代码调整

This commit is contained in:
fan 2020-03-19 10:55:43 +08:00
parent ad858543d8
commit 46520ac118

View File

@ -667,7 +667,7 @@ const map = {
routeDataList.forEach(data => {
state.routeData[data.code] = data;
});
state.map.automaticRouteButtonList.forEach(item => {
state.map.automaticRouteButtonList && state.map.automaticRouteButtonList.forEach(item => {
state.routeData[item.automaticRouteCode].automaticRouteCode = item.code;
});
state.routeList = routeDataList;