Browse Source

修改了付款流程

feature/feature-compatible
wangkesi 7 years ago
parent
commit
bb3da16062
1 changed files with 2 additions and 3 deletions
  1. 5
      src/view/order-detail.vue

5
src/view/order-detail.vue

@ -237,7 +237,7 @@ export default {
this.$vux.loading.show({
text: "正在调起支付"
});
if (isWeixin() && this.info.payPrice > 0) {
if (this.isWeixin() && this.info.payPrice > 0) {
//
this.$vux.loading.hide();
location.href = this.authUrl.replace(
@ -267,8 +267,7 @@ export default {
}
} else {
setTimeout(function() {
window.location.href =
"/v2/order-list";
window.location.href = "/v2/order-list";
}, 2000);
}
} else if (data.code === 666) {

Loading…
Cancel
Save