From 58b0f1e9bd03a472321acf1dfc4e89fc4ce9df7a Mon Sep 17 00:00:00 2001
From: PC-20250623MANY\Administrator <344137771@qq.com>
Date: Mon, 29 Sep 2025 01:14:10 +0800
Subject: [PATCH] 9.28更换api

---
 src/page/trading/buy.vue |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/page/trading/buy.vue b/src/page/trading/buy.vue
index 0bc0fb7..3ca4e80 100644
--- a/src/page/trading/buy.vue
+++ b/src/page/trading/buy.vue
@@ -574,7 +574,7 @@
         });
         this.getUserInfo();
         // this.$router.push("/warehouse?index=1&buyType=" + this.bayType);
-        this.$router.go(-1);
+        this.$router.push("/markets-list");
       } else {
         this.$store.commit("elAlertShow", {
           elAlertShow: true,
@@ -654,7 +654,7 @@
           buyType = 0;
         }
         // this.$router.push("/warehouse?index=1&buyType=" + this.bayType);
-        this.$router.go(-1);
+        this.$router.push("/markets-list");
       } else {
         if (data.msg.indexOf("不在交易时段内") > -1) {
           this.$store.commit("elAlertShow", {
@@ -682,7 +682,7 @@
         });
         this.getUserInfo();
         // this.$router.push("/warehouse?index=1&buyType=" + this.bayType);
-        this.$router.go(-1);
+        this.$router.push("/markets-list");
       } else {
         this.$store.commit("elAlertShow", {
           elAlertShow: true,

--
Gitblit v1.9.3