|
|
@ -59,7 +59,7 @@ |
|
|
|
watch:{ |
|
|
|
watch:{ |
|
|
|
defaultRegion:{ |
|
|
|
defaultRegion:{ |
|
|
|
async handler(region,oldRegion){ |
|
|
|
async handler(region,oldRegion){ |
|
|
|
|
|
|
|
// console.log(region,"region") |
|
|
|
await getRegional().then(res=>{ |
|
|
|
await getRegional().then(res=>{ |
|
|
|
this.CHINA_REGIONS = res.return_data; |
|
|
|
this.CHINA_REGIONS = res.return_data; |
|
|
|
this.CHINA_REGIONS.map(item=>{ |
|
|
|
this.CHINA_REGIONS.map(item=>{ |
|
|
@ -197,8 +197,10 @@ |
|
|
|
// console.log(i,j,children.length-1,"匹配失败"); |
|
|
|
// console.log(i,j,children.length-1,"匹配失败"); |
|
|
|
if(i==0 && j==(children.length-1)){ |
|
|
|
if(i==0 && j==(children.length-1)){ |
|
|
|
this.isInitMultiArray = true; |
|
|
|
this.isInitMultiArray = true; |
|
|
|
|
|
|
|
this.multiIndex = [0,0,0] |
|
|
|
|
|
|
|
this.$emit('failreagion'); |
|
|
|
} |
|
|
|
} |
|
|
|
this.$emit('failreagion') |
|
|
|
// this.$emit('failreagion') |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
@ -208,6 +210,9 @@ |
|
|
|
this.$emit('getRegion',address) |
|
|
|
this.$emit('getRegion',address) |
|
|
|
}else{ |
|
|
|
}else{ |
|
|
|
this.$emit('failureRegion') |
|
|
|
this.$emit('failureRegion') |
|
|
|
|
|
|
|
this.multiIndex = [0,0,0] |
|
|
|
|
|
|
|
this.isInitMultiArray = true; |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|