|
@@ -138,7 +138,6 @@ export default {
|
|
|
// 购买
|
|
|
buy(item) {
|
|
|
this.loading = true;
|
|
|
-
|
|
|
// 首先添加订单
|
|
|
let Mnam = "order-order_manager-PayMyOrder";
|
|
|
LearnWebSI(Mnam, {
|
|
@@ -148,12 +147,13 @@ export default {
|
|
|
})
|
|
|
.then((res) => {
|
|
|
console.log(res);
|
|
|
- this.$message({
|
|
|
- type: "success",
|
|
|
- message: "支付成功",
|
|
|
- });
|
|
|
- this.closePyment("支付成功");
|
|
|
- this.loading = false;
|
|
|
+ window.location.href = res.pay_page_url;
|
|
|
+ // this.$message({
|
|
|
+ // type: "success",
|
|
|
+ // message: "支付成功",
|
|
|
+ // });
|
|
|
+ // this.closePyment("支付成功");
|
|
|
+ // this.loading = false;
|
|
|
// 调取支付接口
|
|
|
})
|
|
|
.catch((res) => {
|