自动化立体仓库 - WMS系统
zyx
2024-01-17 3d4a572565eadba1c9b32b5d9425c504a262fd7a
# 配置属性修改
1个文件已修改
36 ■■■■ 已修改文件
src/main/webapp/views/index.html 36 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/webapp/views/index.html
@@ -162,24 +162,24 @@
    let username = localStorage.getItem('username')
    let password = localStorage.getItem('password')
    if (!(username === 'super' || password === 'root')) {
      if(!checkPassword(password)){
        //要求修改密码
        layer.msg('弱密码请修改密码再继续', {icon: 2});
        layer.open({
          type: 2,
          title: '基本资料',
          maxmin: true,
          shadeClose: false,
          area: [top.detailWidth, top.detailHeight],
          content: 'detail.html',
          closeBtn: 0,
          success: function(layero, index){
            layero.find('.layui-layer-min').remove(); //去掉最小化按钮
            layero.find('.layui-layer-max').remove(); //去掉最大化按钮
          }
        })
      }
    // if (!(username === 'super' || password === 'root')) {
    //   if(!checkPassword(password)){
    //     //要求修改密码
    //     layer.msg('弱密码请修改密码再继续', {icon: 2});
    //     layer.open({
    //       type: 2,
    //       title: '基本资料',
    //       maxmin: true,
    //       shadeClose: false,
    //       area: [top.detailWidth, top.detailHeight],
    //       content: 'detail.html',
    //       closeBtn: 0,
    //       success: function(layero, index){
    //         layero.find('.layui-layer-min').remove(); //去掉最小化按钮
    //         layero.find('.layui-layer-max').remove(); //去掉最大化按钮
    //       }
    //     })
    //   }
    }
  });