mirror of
https://gitee.com/java110/MicroCommunityWeb.git
synced 2026-06-12 10:00:56 +08:00
优化代码
This commit is contained in:
parent
293991d0a4
commit
19cdff9456
@ -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 ;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user