From 289948f53b5e0b00a656d60c08efbff0eb05fa90 Mon Sep 17 00:00:00 2001
From: dcc <dcc@163.com>
Date: Thu, 16 May 2024 15:37:05 +0800
Subject: [PATCH] 提款更改

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

diff --git a/src/page/trading/buy.vue b/src/page/trading/buy.vue
index be3bbaf..1ead262 100644
--- a/src/page/trading/buy.vue
+++ b/src/page/trading/buy.vue
@@ -465,7 +465,7 @@
           elAlertType: "success",
         });
         this.getUserInfo();
-        this.$router.push("/warehouse?index=1");
+        this.$router.push("/warehouse?index=1&buyType=" + this.bayType);
       } else {
         this.$store.commit("elAlertShow", {
           elAlertShow: true,
@@ -543,13 +543,7 @@
         } 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");
-        }
+        this.$router.push("/warehouse?index=1&buyType=" + this.bayType);
       } else {
         if (data.msg.indexOf("不在交易时段内") > -1) {
           this.$store.commit("elAlertShow", {
@@ -576,7 +570,7 @@
           elAlertType: "success",
         });
         this.getUserInfo();
-        this.$router.push("/warehouse?index=0");
+        this.$router.push("/warehouse?index=1&buyType=" + this.bayType);
       } else {
         this.$store.commit("elAlertShow", {
           elAlertShow: true,
@@ -624,7 +618,7 @@
             i++
           ) {
             let val = this.$store.state.userInfo.siteLever.split("/")[i];
-            let item = { label: val + this.$t("hj112"), value: val };
+            let item = { label: val + this.$t("hj112"), name: val, gg: val};
             this.siteLeverList.push(item);
           }
         } else {

--
Gitblit v1.9.3