chore: quick create route

This commit is contained in:
jialin
2026-02-12 12:20:05 +08:00
parent b21fe0ac4c
commit 07664b5f22
21 changed files with 202 additions and 47 deletions
+7
View File
@@ -102,6 +102,7 @@ const TargetsForm = forwardRef((props, ref) => {
value: []
}
];
form.setFieldValue('targets', newTargets);
};
@@ -239,6 +240,12 @@ const TargetsForm = forwardRef((props, ref) => {
fetchSourceModels();
}, []);
useEffect(() => {
if (action === PageAction.CREATE) {
handleOnAdd();
}
}, [action]);
return (
<>
<Form.Item