|
@@ -106,9 +106,16 @@ export default {
|
|
}else{
|
|
}else{
|
|
this.city = {cityKey:'',cityName:this.cityInfo}
|
|
this.city = {cityKey:'',cityName:this.cityInfo}
|
|
}
|
|
}
|
|
|
|
+ if(this.city.cityKey){
|
|
|
|
+ const areaResult = Object.entries(area_sorce[this.city.cityKey]).find(([key,val])=>val===this.areaInfo)||['',this.areaInfo]
|
|
|
|
+ this.area={areaKey:areaResult[0],areaName:areaResult[1]}
|
|
|
|
+ }else{
|
|
|
|
+ this.area={areaKey:'',areaName:this.areaInfo}
|
|
|
|
+ }
|
|
}else{
|
|
}else{
|
|
this.province={provinceKey:'',provinceName:''}
|
|
this.province={provinceKey:'',provinceName:''}
|
|
this.city={cityKey:'',cityName:''}
|
|
this.city={cityKey:'',cityName:''}
|
|
|
|
+ this.area={areaKey:'',areaName:''}
|
|
}
|
|
}
|
|
},
|
|
},
|
|
immediate:true
|
|
immediate:true
|