Commit d7a11ea2 authored by youjie's avatar youjie

no message

parent 814a3e3a
...@@ -1582,13 +1582,13 @@ ...@@ -1582,13 +1582,13 @@
let PlaceList = that.addMsg.PlaceList let PlaceList = that.addMsg.PlaceList
let AirportList = that.addMsg.AirportList let AirportList = that.addMsg.AirportList
for(let i=0;i<PlaceList.length;i++){ for(let i=0;i<PlaceList.length;i++){
if(PlaceList[i].Lng||PlaceList[i].Range){ if(!PlaceList[i].Lng||!PlaceList[i].Range){
return that.tips(`请选择地图获取地理位置${i+1}`, "error"); return that.tips(`请选择地图获取地理位置${i+1}`, "error");
} }
} }
if(this.addMsg.CarType!=3){ if(this.addMsg.CarType!=3){
for(let i=0;i<AirportList.length;i++){ for(let i=0;i<AirportList.length;i++){
if(AirportList[i].Lng||AirportList[i].Range){ if(!AirportList[i].Lng||!AirportList[i].Range){
return that.tips(`请选择地图获取地理位置${i+1}`, "error"); return that.tips(`请选择地图获取地理位置${i+1}`, "error");
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment