shish 2 лет назад
Родитель
Сommit
2ff6b89f60
1 измененных файлов с 1 добавлено и 4 удалено
  1. 1 4
      mallApp/src/pages/pay/index.vue

+ 1 - 4
mallApp/src/pages/pay/index.vue

@@ -206,10 +206,7 @@
 					if (this.form.payWay == 0) {
 						wexinPay(res.data, this.paySuccess, this.payFail)
 					} else if (this.form.payWay == 1) {
-						this.aliPayHtml = res
-						this.$nextTick(() => {
-							this.$refs.alipayWap.children[0].submit()
-						})
+						window.location.href = res.data.url;
 					} else {
 						this.paySuccess()
 					}