From 42faef34194c466f03e29d75a63ae502e4213044 Mon Sep 17 00:00:00 2001
From: admin <344137771@qq.com>
Date: Tue, 06 Jan 2026 10:38:46 +0800
Subject: [PATCH] 上一版是10.10的, 这版才是原始源码

---
 src/views/quotes/components/Search.vue |   16 +++-------------
 1 files changed, 3 insertions(+), 13 deletions(-)

diff --git a/src/views/quotes/components/Search.vue b/src/views/quotes/components/Search.vue
index 5cde743..84c48fc 100644
--- a/src/views/quotes/components/Search.vue
+++ b/src/views/quotes/components/Search.vue
@@ -3,8 +3,7 @@
     <div class="tradeRecord">
       <van-loading color="#1194F7" class="loading-box" v-if="isLoading" />
       <div class="content">
-       
-      <van-tabs v-model:active="active" class="w-full px-2 box-border" sticky @click="changeType">
+        <van-tabs v-model:active="active" class="w-full px-2 box-border" sticky @click="changeType">
           <van-tab :title="$t('当前委托')" class="text-30">
             <!-- <div class="all-select flex justify-end">
               <div class="select-box flex" @click.stop="isAll = !isAll">
@@ -77,10 +76,7 @@
 
 export default {
   props: {
-    invalidState: {
-      type: [String, Number],
-      default: null
-    }
+
   },
   computed: {
     ...mapGetters('user', ['userInfo']),
@@ -113,13 +109,7 @@
     }
     // this.getCoins()
     this.symbol = this.$route.query.symbol
-    // 如果传入了 invalidState 字段,直接展示历史委托页面
-    if (this.invalidState) {
-      this.active = 1
-      this.type = 'hisorders'
-    } else {
-      this.active = this.$route.query.selectIndex !== undefined ? +this.$route.query.selectIndex : 0
-    }
+    this.active = this.$route.query.selectIndex !== undefined ? +this.$route.query.selectIndex : 0
     this.getOrderList(this.type)
     // this.getCoinPrce(this.symbol)
   },

--
Gitblit v1.9.3