From 74bcf0374dad94d352b68f10e2e3d6e0ebc2c9dc Mon Sep 17 00:00:00 2001
From: zzzz <690498789@qq.com>
Date: Sun, 07 Apr 2024 12:32:13 +0800
Subject: [PATCH] 1

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

diff --git a/src/page/trading/buy.vue b/src/page/trading/buy.vue
index 14c23b0..cde6f52 100644
--- a/src/page/trading/buy.vue
+++ b/src/page/trading/buy.vue
@@ -538,7 +538,20 @@
           elAlertType: "success",
         });
         this.getUserInfo();
-        this.$router.push("/warehouse?index=0");
+        var buyType = ''
+        if (this.tabsCurrentIndex == 0) {
+          buyType = 1;
+        } else {
+          buyType = 0;
+        }
+        if(this.bayType=='US'){
+
+          this.$router.push("/warehouse?index=1&buyType="+buyType);
+        }else if(this.bayType=='MAS'){
+          this.$router.push("/warehouse?index=0&buyType="+buyType);
+        }else {
+          this.$router.push("/warehouse");
+        }
       } else {
         if (data.msg.indexOf("不在交易时段内") > -1) {
           this.$store.commit("elAlertShow", {

--
Gitblit v1.9.3