From 896f33f0f2db0798333f3298a7fa15e99691059c Mon Sep 17 00:00:00 2001
From: dubin <bindu_bean@163.com>
Date: 星期三, 05 十一月 2025 09:33:43 +0800
Subject: [PATCH] 初始化
---
src/main/webapp/static/js/console.js | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/main/webapp/static/js/console.js b/src/main/webapp/static/js/console.js
index f9936db..65cf70f 100644
--- a/src/main/webapp/static/js/console.js
+++ b/src/main/webapp/static/js/console.js
@@ -32,7 +32,7 @@
let bLen
let interval // 闂撮殧鏁�
- if (maxBayNo<35) {
+ if (maxBayNo<40) {
interval = 1
bLen = maxBayNo / interval // 搴撲綅涓暟
} else {
@@ -66,7 +66,7 @@
}
bayWidth = rackss[i].width / bLen
// hpPosition 0 琛ㄧず璐ф灦搴忓彿 宸�->鍙� 1 琛ㄧず璐ф灦搴忓彿 宸�<-鍙�
- if (mapInfo.hpPosition == 1) {
+ if (mapInfo.hpPosition == 0) {
bNum = maxBayNo
for (let j = bLen; j > 0; j--) {
bay = "<button class='item' style='width: "+ bayWidth +"px'>" + bNum + "</button>"
--
Gitblit v1.9.1