Browse Source

[完善]admin不弹出修改密码

dev
邵佳豪 3 years ago
parent
commit
e7f4ceba45
  1. 2
      src/app/pages/home/home.component.ts

2
src/app/pages/home/home.component.ts

@ -94,7 +94,7 @@ export class HomeComponent implements OnInit {
} }
if (sessionStorage.getItem('isDefaultPassword') == 'true' || sessionStorage.getItem('isPasswordExpired') == 'true') { if ((sessionStorage.getItem('isDefaultPassword') == 'true' || sessionStorage.getItem('isPasswordExpired') == 'true') && JSON.parse(sessionStorage.getItem('userdata')).userName != 'admin') {
this.changePasswordPopup() this.changePasswordPopup()
} }

Loading…
Cancel
Save