From 5300d29e4ceeb7ca7c78cc6dfbf9b4c354a01bdf Mon Sep 17 00:00:00 2001
From: 18516761980 <56479841@qq.com>
Date: 星期二, 06 九月 2022 18:06:05 +0800
Subject: [PATCH] #

---
 src/main/webapp/static/js/console.js |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/main/webapp/static/js/console.js b/src/main/webapp/static/js/console.js
index 34af77e..71073e8 100644
--- a/src/main/webapp/static/js/console.js
+++ b/src/main/webapp/static/js/console.js
@@ -93,10 +93,12 @@
 
         let stnss = areas[i].stns
         let floor = areas[i].text
+        console.log(areas[i].top)
         floorId = areas[i].id
         var position = (i+1)*100
         floorBtn =
             "<button class='floorBtn btn-16' onclick='changFloor("+i+")' style='top: "+position+"px;'>" + floor +"</button>"
+        console.log(mapInfo.areas[0].floors.length)
         if (mapInfo.areas[0].floors.length == 1) {
             floorBtnss = ''
         } else {

--
Gitblit v1.9.1