From 856be870ad89178508d70d6f9b41dfc588ce5c6c Mon Sep 17 00:00:00 2001
From: Junjie <fallin.jie@qq.com>
Date: 星期四, 27 二月 2025 19:54:23 +0800
Subject: [PATCH] #修复拣料回库小概率出现源库位库存明细不存在异常

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

diff --git a/src/main/webapp/views/home/map2.html b/src/main/webapp/views/home/map2.html
index 946552e..23d9298 100644
--- a/src/main/webapp/views/home/map2.html
+++ b/src/main/webapp/views/home/map2.html
@@ -759,6 +759,11 @@
                         pixiApp.stage.addChild(rectangle);
                     }
                 })
+
+                //瑙嗚灞呬腑
+                let containerWidth = (pixiApp.view.width - objectsContainer.width) / 2;
+                let containerHeight = (pixiApp.view.height - objectsContainer.height) / 2;
+                pixiApp.stage.position.set(containerWidth, containerHeight);
             },
             getRealRowByX(x) {
                 //鑾峰彇鐪熷疄搴撲綅琛屽彿锛岄�氳繃鍧愭爣x

--
Gitblit v1.9.1