mirror of
https://github.com/PlayEdu/backend
synced 2025-12-31 13:09:43 +08:00
系统管理有相关api请求逻辑优化
This commit is contained in:
@@ -26,8 +26,10 @@ export const SystemAdminrolesUpdate: React.FC<PropInterface> = ({
|
||||
const [actions, setActions] = useState<any>([]);
|
||||
|
||||
useEffect(() => {
|
||||
getParams();
|
||||
}, []);
|
||||
if (open) {
|
||||
getParams();
|
||||
}
|
||||
}, [open]);
|
||||
|
||||
useEffect(() => {
|
||||
if (id === undefined) {
|
||||
|
||||
Reference in New Issue
Block a user