Browse Source

auto commit

gcz 4 years ago
parent
commit
d7c246cfb7
2 changed files with 3 additions and 2 deletions
  1. 1 1
      pages/confirmorder/confirmorder.vue
  2. 2 1
      pages/product/product.vue

+ 1 - 1
pages/confirmorder/confirmorder.vue

@@ -117,7 +117,7 @@
 				});
 				// console.log('param',param);
 			},
-			pay(orderId,payType){
+			async pay(orderId,payType){
 				
 				let userInfo = uni.getStorageSync("userInfo");
 					let params = {

+ 2 - 1
pages/product/product.vue

@@ -142,6 +142,7 @@
 		},
 		onShow() {
 			let serf = this;
+			this.getAddrs();
 			//检查登录,获取token
 			// let loginRes = this.checkLogin('/pages/index/index', '2');
 			// if(!loginRes){return false;}
@@ -199,7 +200,7 @@
 			}).catch(err => {
 				console.log(err)
 			});
-			this.getAddrs();
+			
 
 		},
 		methods: {