From 9735a91eb38e50298f3311a46074336ce3ffbc61 Mon Sep 17 00:00:00 2001 From: "@fawn-nine" <1271023382@qq.com> Date: Wed, 3 Jul 2024 17:12:17 +0800 Subject: [PATCH] =?UTF-8?q?=E9=BB=98=E8=AE=A4=E8=BF=90=E8=B4=B9=E8=B0=83?= =?UTF-8?q?=E5=8F=96=E6=97=B6=E9=97=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/goods/order/index.vue | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/pages/goods/order/index.vue b/pages/goods/order/index.vue index d3535ce..05ff27c 100644 --- a/pages/goods/order/index.vue +++ b/pages/goods/order/index.vue @@ -861,8 +861,12 @@ export default { if (!this.addressData.id) { this.addressData = this.defaultAddressList; } - console.log("this.addressData at line 742:", this.addressData); - await this.getFreightNum(); + console.log("this.addressData at line 742:", this.addressData); + if(this.defaultAddressList.id){ + console.log('有默认地址'); + await this.getFreightNum(); + } + // await this.getFreightNum(); this.$forceUpdate(); // await that.getDetailInfo();