From 8e943b7104561c3b14cf223016698709c5ade4b5 Mon Sep 17 00:00:00 2001
From: lty <876263681@qq.com>
Date: 星期二, 03 二月 2026 15:37:26 +0800
Subject: [PATCH] #pda料箱组托和换码
---
src/main/webapp/views/password.html | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/src/main/webapp/views/password.html b/src/main/webapp/views/password.html
index 8d20e0c..42d670c 100644
--- a/src/main/webapp/views/password.html
+++ b/src/main/webapp/views/password.html
@@ -77,7 +77,7 @@
if (val === ""){
// return "褰撳墠瀵嗙爜涓嶈兘涓虹┖";
}
- if (parent.$('#password').val() !== val) {
+ if (parent.$('#password').val() !== hex_md5(val)) {
return "瀵嗙爜涓嶅尮閰�";
}
},
@@ -88,7 +88,7 @@
if (val.length < 4) {
return "涓嶈兘灏戜簬4涓瓧绗�";
}
- if (parent.$('#password').val() !== hex_md5(val)) {
+ if (parent.$('#password').val() === hex_md5(val)) {
return "涓庢棫瀵嗙爜涓嶈兘鐩稿悓";
}
},
@@ -128,7 +128,7 @@
} else if (res.code === 403){
top.location.href = baseUrl+"/";
} else {
- layer.msg(res.msg);
+ layer.msg(typeof I18n !== 'undefined' ? I18n.t(res.msg) : res.msg, {icon: 2});
}
}
});
@@ -143,4 +143,5 @@
parent.layer.closeAll();
});
</script>
+
</html>
\ No newline at end of file
--
Gitblit v1.9.1