ymt-db-dev
游梦婷 1 year ago
parent ad3fd48c48
commit 563f6d94cf
  1. 9
      components/pick-regions/pick-regions.vue
  2. 1
      pages/order/confirmation.vue

@ -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;
} }

@ -630,6 +630,7 @@
if(this.isFinish){ if(this.isFinish){
this.isAgree = true; this.isAgree = true;
this.$refs.exchangeInstructions.close(); this.$refs.exchangeInstructions.close();
this.toPay();
} }
}, },
closeInstructions(){ closeInstructions(){

Loading…
Cancel
Save