mirror of
https://github.com/PlayEdu/backend
synced 2025-07-18 00:37:30 +08:00
管理人员编辑禁止登录显示优化
This commit is contained in:
parent
cbbf4da042
commit
01d20a97e1
@ -22,12 +22,6 @@ export const SystemAdministratorUpdate: React.FC<PropInterface> = ({
|
||||
getParams();
|
||||
}, []);
|
||||
|
||||
useEffect(() => {
|
||||
form.setFieldsValue({
|
||||
is_ban_login: 0,
|
||||
});
|
||||
}, [form, open]);
|
||||
|
||||
useEffect(() => {
|
||||
if (id === 0) {
|
||||
return;
|
||||
|
Loading…
x
Reference in New Issue
Block a user