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();