自动化立体仓库 - WMS系统
lty
3 天以前 8e943b7104561c3b14cf223016698709c5ade4b5
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>