diff --git a/web/client/src/sections/fillion/actions/infor.js b/web/client/src/sections/fillion/actions/infor.js index 809a1a6a..a245f755 100644 --- a/web/client/src/sections/fillion/actions/infor.js +++ b/web/client/src/sections/fillion/actions/infor.js @@ -108,7 +108,7 @@ export function putRoadway(query) { data: query, actionType: 'PUT_ROADWAY', url: ApiTable.putRoadway, - msg: { option: query.roadId?'编辑':'新增' + '道路信息' }, + msg: { option: query?.roadId?'编辑':'新增' + '道路信息' }, }); } export function getBridge(query) {