mirror of
https://github.com/PlayEdu/backend
synced 2025-06-18 17:06:59 +08:00
分类、部门编辑处父类选择排序同步
This commit is contained in:
parent
f258c3654d
commit
c21c55fce8
@ -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) {
|
||||
|
@ -25,7 +25,7 @@ export const ResourceCategoryCreate: React.FC<PropInterface> = ({
|
||||
|
||||
useEffect(() => {
|
||||
getParams();
|
||||
}, []);
|
||||
}, [open]);
|
||||
|
||||
useEffect(() => {
|
||||
form.setFieldsValue({
|
||||
|
@ -28,7 +28,7 @@ export const ResourceCategoryUpdate: React.FC<PropInterface> = ({
|
||||
|
||||
useEffect(() => {
|
||||
getParams();
|
||||
}, []);
|
||||
}, [open]);
|
||||
|
||||
useEffect(() => {
|
||||
if (id === 0) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user