This commit is contained in:
fan 2021-04-21 10:44:24 +08:00
commit a29de2d3da

View File

@ -328,7 +328,7 @@ export default {
if (newModel.pathSwitchPosition && !newModel.pathSwitchPosition.switchCode) { if (newModel.pathSwitchPosition && !newModel.pathSwitchPosition.switchCode) {
delete newModel.pathSwitchPosition; delete newModel.pathSwitchPosition;
} }
that.addModel.code = setUID('Route'); newModel.code = setUID('Route');
that.loading = true; that.loading = true;
postBigRoute(newModel, that.mapInfo.id).then(res=>{ postBigRoute(newModel, that.mapInfo.id).then(res=>{
that.$message.success(that.$t('tip.creatingSuccessful')); that.$message.success(that.$t('tip.creatingSuccessful'));