From 9f05696822f8feee385a34a92dd9aa16009e84a0 Mon Sep 17 00:00:00 2001
From: Junjie <fallin.jie@qq.com>
Date: 星期日, 18 六月 2023 12:38:00 +0800
Subject: [PATCH] 寻路算法,地图节点优化,剔除原入出库模式获取地图节点方案,改为根据库位状态实时获取节点信息或直接获取无过滤的完整节点信息

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

diff --git a/src/main/webapp/static/js/cool.js b/src/main/webapp/static/js/cool.js
index bbc4def..9aff404 100644
--- a/src/main/webapp/static/js/cool.js
+++ b/src/main/webapp/static/js/cool.js
@@ -53,7 +53,7 @@
                 }
                 selectDom.style.display='block';
             } else if (res.code === 403){
-                top.location.href = baseUrl;
+                window.location.href = baseUrl;
             } else {
                 layer.msg(res.msg)
             }
@@ -126,7 +126,7 @@
                 layer.close(tips);
                 banMsg = null;
             } else if (res.code === 403) {
-                top.location.href = baseUrl;
+                window.location.href = baseUrl;
             } else if (res.code === 407) {
                 banMsg = res.data + "涓嶅彲鐢�";
                 tips = layer.tips(

--
Gitblit v1.9.1