From 2a23da35f1064e5037c68f1019e2329c9da54544 Mon Sep 17 00:00:00 2001
From: Junjie <fallin.jie@qq.com>
Date: 星期二, 13 五月 2025 09:09:57 +0800
Subject: [PATCH] #

---
 src/main/webapp/views/admin/locMap/locMap.html |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/src/main/webapp/views/admin/locMap/locMap.html b/src/main/webapp/views/admin/locMap/locMap.html
index e9140ad..4b25c9a 100644
--- a/src/main/webapp/views/admin/locMap/locMap.html
+++ b/src/main/webapp/views/admin/locMap/locMap.html
@@ -193,14 +193,18 @@
     },
     methods: {
       init(){
+        let that = this
         ws = new WebSocket("ws://" + window.location.host + baseUrl + "/console/websocket");
         ws.onopen = this.webSocketOnOpen
         ws.onerror = this.webSocketOnError
         ws.onmessage = this.webSocketOnMessage
         ws.onclose = this.webSocketClose
 
-        this.getMap(this.currentLev)
+
         this.initLev()//鍒濆鍖栨ゼ灞備俊鎭�
+        setTimeout(() => {
+          that.getMap(this.currentLev)
+        }, 1000);
 
         // this.consoleInterval = setInterval(() => {
         //   this.getMap(this.currentLev) //鑾峰彇瀹炴椂鍦板浘鏁版嵁

--
Gitblit v1.9.1