shish há 2 anos atrás
pai
commit
2ff6b89f60
1 ficheiros alterados com 1 adições e 4 exclusões
  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) {
 					if (this.form.payWay == 0) {
 						wexinPay(res.data, this.paySuccess, this.payFail)
 						wexinPay(res.data, this.paySuccess, this.payFail)
 					} else if (this.form.payWay == 1) {
 					} else if (this.form.payWay == 1) {
-						this.aliPayHtml = res
-						this.$nextTick(() => {
-							this.$refs.alipayWap.children[0].submit()
-						})
+						window.location.href = res.data.url;
 					} else {
 					} else {
 						this.paySuccess()
 						this.paySuccess()
 					}
 					}