Przeglądaj źródła

improve: 地址刷新;

From-wh 2 lat temu
rodzic
commit
422cb28585

+ 3 - 1
template/uni-app/pages/goods/order_confirm/index.vue

@@ -338,7 +338,7 @@
 					}
 
 				],
-				virtual_type: 0,
+				virtual_type: 0,
 				allPrice: 0,
 				formContent: '',
 				payType: '', //支付方式
@@ -946,6 +946,7 @@
 			onAddress: function() {
 				let that = this;
 				if (this.addressInfo.real_name) {
+					this.$refs.addressWindow.getAddressList();
 					that.textareaStatus = false;
 					that.address.address = true;
 					that.pagesUrl = '/pages/users/user_address_list/index?news=' + this.news + '&cartId=' + this
@@ -954,6 +955,7 @@
 						this.pinkId +
 						'&couponId=' +
 						this.couponId;
+
 				} else {
 					uni.navigateTo({
 						url: '/pages/users/user_address/index?cartId=' + this.cartId + '&pinkId=' + this