From 9f5adc78ec0e386684a12f3b4f26a0fff4a3286f Mon Sep 17 00:00:00 2001
From: PC-20250623MANY\Administrator <344137771@qq.com>
Date: Sat, 30 Aug 2025 16:28:12 +0800
Subject: [PATCH] 1

---
 src/views/home/Home.vue |   15 +++++++++++----
 1 files changed, 11 insertions(+), 4 deletions(-)

diff --git a/src/views/home/Home.vue b/src/views/home/Home.vue
index b3bb1c3..1fa92c2 100644
--- a/src/views/home/Home.vue
+++ b/src/views/home/Home.vue
@@ -5,10 +5,14 @@
         <home-ltl @choice="choice"></home-ltl>
         <home-ltr :obj="singDetails"></home-ltr>
       </div>
-      <home-lb class="bottom" @choice="choice"></home-lb>
+      <home-lb class="bottom" @choice="choice" ref="BottomLb"></home-lb>
     </div>
     <div class="right">
-      <HomeRight :obj="singDetails" :positionSn.sync="positionSn"></HomeRight>
+      <HomeRight
+        :obj="singDetails"
+        :positionSn.sync="positionSn"
+        @Refresh="Refresh"
+      ></HomeRight>
     </div>
   </div>
 </template>
@@ -39,7 +43,7 @@
         if (this.timer) clearInterval(this.timer);
         this.timer = setInterval(() => {
           this.getSingDetails(val);
-        }, 3000);
+        }, 2000);
       },
     },
   },
@@ -52,7 +56,6 @@
       this.cId = val;
       this.positionSn = positionSn;
     },
-
     async getSingDetails(code) {
       let opts = {
         code,
@@ -69,6 +72,10 @@
         }
       });
     },
+    // 刷新持仓/平仓列表
+    Refresh() {
+      this.$refs.BottomLb.init();
+    },
   },
 };
 </script>

--
Gitblit v1.9.3