From e1e288f77300638359680e86802c48deb2114b6a Mon Sep 17 00:00:00 2001
From: zyx <zyx123456>
Date: 星期一, 04 十二月 2023 08:06:27 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/tzskasrs-1' into tzskasrs-1
---
src/main/webapp/static/js/cool.js | 12 ++++++++++--
1 files changed, 10 insertions(+), 2 deletions(-)
diff --git a/src/main/webapp/static/js/cool.js b/src/main/webapp/static/js/cool.js
index bbc4def..d817c09 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;
+ top.location.href = baseUrl+"/";
} else {
layer.msg(res.msg)
}
@@ -106,6 +106,14 @@
return str;
}
+// 琛ㄥ崟鍊兼竻绌�
+function clearFormVal(el) {
+ $(':input', el)
+ .val('')
+ .removeAttr('checked')
+ .removeAttr('selected');
+}
+
var banMsg;
var tips;
// 涓婚敭鏍¢獙
@@ -126,7 +134,7 @@
layer.close(tips);
banMsg = null;
} else if (res.code === 403) {
- top.location.href = baseUrl;
+ top.location.href = baseUrl+"/";
} else if (res.code === 407) {
banMsg = res.data + "涓嶅彲鐢�";
tips = layer.tips(
--
Gitblit v1.9.1