From f95a1ef2f4650b930bed9c40ac1d65039005d4ef Mon Sep 17 00:00:00 2001
From: Junjie <fallin.jie@qq.com>
Date: 星期六, 09 九月 2023 09:45:10 +0800
Subject: [PATCH] #
---
src/main/webapp/views/console.html | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/main/webapp/views/console.html b/src/main/webapp/views/console.html
index 6fbc391..28f1c3d 100644
--- a/src/main/webapp/views/console.html
+++ b/src/main/webapp/views/console.html
@@ -73,7 +73,7 @@
<!--杈撳嚭妤煎眰-->
<div style="height: 100%;">
<div class="floorBtnBox" v-for="(lev,idx) in floorList">
- <el-button @click="changFloor(lev)">{{lev}}F</el-button>
+ <el-button :style="{background:currentLev === lev ? '#7DCDFF':''}" @click="changFloor(lev)">{{lev}}F</el-button>
</div>
<div>
<el-button @click="testMove()">娴嬭瘯绉诲姩杞�</el-button>
@@ -418,7 +418,7 @@
if (res.code == 200) {
let currentLevShuttle = []//褰撳墠妤煎眰灏忚溅闆嗗悎
res.data.forEach((item,idx) => {
- if (item.point != undefined && item.point != null) {
+ if (item != null && item.point != undefined && item.point != null) {
if (item.point.z == that.currentLev) {
currentLevShuttle.push(item);
}
--
Gitblit v1.9.1