From 563f6d94cfd9a6c397c311d9ccb541893aa962bf Mon Sep 17 00:00:00 2001 From: youmengting <2080639302@qq.com> Date: Fri, 30 Jun 2023 13:39:27 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BD=93=E9=AA=8C=E7=89=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/pick-regions/pick-regions.vue | 9 +++++++-- pages/order/confirmation.vue | 1 + 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/components/pick-regions/pick-regions.vue b/components/pick-regions/pick-regions.vue index 47bd9f8..0d92d6f 100644 --- a/components/pick-regions/pick-regions.vue +++ b/components/pick-regions/pick-regions.vue @@ -59,7 +59,7 @@ watch:{ defaultRegion:{ async handler(region,oldRegion){ - + // console.log(region,"region") await getRegional().then(res=>{ this.CHINA_REGIONS = res.return_data; this.CHINA_REGIONS.map(item=>{ @@ -197,8 +197,10 @@ // console.log(i,j,children.length-1,"匹配失败"); if(i==0 && j==(children.length-1)){ 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) }else{ this.$emit('failureRegion') + this.multiIndex = [0,0,0] + this.isInitMultiArray = true; + } diff --git a/pages/order/confirmation.vue b/pages/order/confirmation.vue index a49e6d7..f709e5c 100644 --- a/pages/order/confirmation.vue +++ b/pages/order/confirmation.vue @@ -630,6 +630,7 @@ if(this.isFinish){ this.isAgree = true; this.$refs.exchangeInstructions.close(); + this.toPay(); } }, closeInstructions(){