fix: fix the collection for nfs (#218)

* fix: remove the datax-builder for the Backend Image

* fix: fix the collection for nfs
This commit is contained in:
hefanli
2025-12-31 15:56:01 +08:00
committed by GitHub
parent 01e1c6c7e9
commit 3a874fe699
5 changed files with 11 additions and 35 deletions

View File

@@ -81,19 +81,7 @@ export default function CollectionTaskCreate() {
const handleSubmit = async () => {
try {
await form.validateFields();
const values = form.getFieldsValue(true);
const payload = {
name: values.name,
description: values.description,
syncMode: values.syncMode,
scheduleExpression: values.scheduleExpression,
timeoutSeconds: values.timeoutSeconds,
templateId: values.templateId,
config: values.config,
};
await createTaskUsingPost(payload);
await createTaskUsingPost(newTask);
message.success("任务创建成功");
navigate("/data/collection");
} catch (error) {