mirror of
https://github.com/PlayEdu/backend
synced 2025-12-23 03:39:34 +08:00
分类、部门编辑处父类选择排序同步
This commit is contained in:
@@ -25,7 +25,7 @@ export const DepartmentCreate: React.FC<PropInterface> = ({
|
||||
|
||||
useEffect(() => {
|
||||
getParams();
|
||||
}, []);
|
||||
}, [open]);
|
||||
|
||||
useEffect(() => {
|
||||
form.setFieldsValue({
|
||||
|
||||
@@ -28,7 +28,7 @@ export const DepartmentUpdate: React.FC<PropInterface> = ({
|
||||
|
||||
useEffect(() => {
|
||||
getParams();
|
||||
}, []);
|
||||
}, [open]);
|
||||
|
||||
useEffect(() => {
|
||||
if (id === 0) {
|
||||
|
||||
Reference in New Issue
Block a user