Commit da038380 authored by mengcuiguang's avatar mengcuiguang

代码优化

parent 40d3e7eb
...@@ -199,10 +199,10 @@ ...@@ -199,10 +199,10 @@
this.handlePay(); this.handlePay();
}, },
handlePay() { handlePay() {
if (this.os == 'ios') { // if (this.os == 'ios') {
message.notify('暂不支持ios支付'); // message.notify('暂不支持ios支付');
return // return
} // }
let that = this; let that = this;
let vipBean = this.vipList[this.selectedIndex]; let vipBean = this.vipList[this.selectedIndex];
...@@ -273,7 +273,7 @@ ...@@ -273,7 +273,7 @@
} }
message.notify(res.errMsg); // message.notify(res.errMsg);
}, },
}); });
} else { } else {
......
...@@ -263,10 +263,10 @@ ...@@ -263,10 +263,10 @@
// this.$refs.alertDialog.open(); // this.$refs.alertDialog.open();
}, },
handlePay() { handlePay() {
if (this.os == 'ios') { // if (this.os == 'ios') {
message.notify('暂不支持ios支付'); // message.notify('暂不支持ios支付');
return // return
} // }
let that = this; let that = this;
let vipBean = this.pointList[this.selectedIndex]; let vipBean = this.pointList[this.selectedIndex];
if (this.selectedIndex == -1) { if (this.selectedIndex == -1) {
...@@ -323,6 +323,7 @@ ...@@ -323,6 +323,7 @@
tt.getOrderPayment({ tt.getOrderPayment({
orderId: oid, orderId: oid,
imId: ttData.imId, imId: ttData.imId,
immediate: true,
success(res) { success(res) {
that.queryOrderStatus(largeType, ttData.tidStr); that.queryOrderStatus(largeType, ttData.tidStr);
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment