From bcb19e8c93c3cabf0d8eb3ee34ed819b3c5a10ef Mon Sep 17 00:00:00 2001
From: whycq <913841844@qq.com>
Date: 星期一, 25 十一月 2024 13:14:11 +0800
Subject: [PATCH] #优化地图

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

diff --git a/src/main/webapp/views/home/map2.html b/src/main/webapp/views/home/map2.html
index e8e0c00..25a0932 100644
--- a/src/main/webapp/views/home/map2.html
+++ b/src/main/webapp/views/home/map2.html
@@ -591,7 +591,6 @@
             currentLev: {
                 deep: true,
                 handler(val) {
-                    console.log(val)
                     this.init()
                     if (this.searchMatnr != ""
                         || this.searchOrderNo != ""
@@ -605,6 +604,11 @@
             currentFloor: {
                 deep: true,
                 handler(val) {
+                    if (val == 1) {
+                        this.floorList = [1,2]
+                    } else {
+                        this.floorList = [1]
+                    }
                     this.init()
                     if (this.searchMatnr != ""
                         || this.searchOrderNo != ""

--
Gitblit v1.9.1