From 19cdff94561b8578d115662f7e710cd0bff7e722 Mon Sep 17 00:00:00 2001 From: java110 <928255095@qq.com> Date: Sun, 3 Jan 2021 16:49:32 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/pages/frame/changeStaffPwd/changeStaffPwd.js | 8 -------- 1 file changed, 8 deletions(-) diff --git a/public/pages/frame/changeStaffPwd/changeStaffPwd.js b/public/pages/frame/changeStaffPwd/changeStaffPwd.js index 327614ecb..76bd557f8 100644 --- a/public/pages/frame/changeStaffPwd/changeStaffPwd.js +++ b/public/pages/frame/changeStaffPwd/changeStaffPwd.js @@ -53,14 +53,6 @@ return; } - var _userInfo = vc.getData("/nav/getUserInfo"); - - if(_userInfo.name == 'wuxw' || _userInfo.name == 'dev' || _userInfo.name == 'dails' || _userInfo.name == 'admin'){ - vc.toast("演示环境密码,不允许修改"); - return ; - } - - if(vc.component.changeStaffPwdInfo.newPwd != vc.component.changeStaffPwdInfo.reNewPwd){ vc.toast('两次密码不一致'); return ;