mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-05-04 18:10:10 +08:00
update
This commit is contained in:
@@ -664,7 +664,7 @@ export default {
|
||||
},
|
||||
areaCode(area){
|
||||
let arr = this.areaList.find(item => item.value === area);
|
||||
console.log("areaCode code:{}, value:{}", area, arr);
|
||||
// console.log("areaCode code:{}, value:{}", area, arr);
|
||||
if (arr ==null){
|
||||
return '一'
|
||||
} else{
|
||||
@@ -675,7 +675,7 @@ export default {
|
||||
provCode(code){
|
||||
let arr = this.options.find(item => item.value === code);
|
||||
this.areaList=arr.cities
|
||||
console.log("provCode code:{}, value:{}", code, arr);
|
||||
// console.log("provCode code:{}, value:{}", code, arr);
|
||||
if (arr ==null){
|
||||
return '一'
|
||||
} else{
|
||||
@@ -755,8 +755,8 @@ export default {
|
||||
this.jsonHttp();
|
||||
this.cityList = text.cityList;
|
||||
|
||||
this.provCode("6202");
|
||||
this.areaCode("0062");
|
||||
// this.provCode("6202");
|
||||
// this.areaCode("0062");
|
||||
},
|
||||
};
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user