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