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