fix: gantt abnormal drag and drop update action (#1760)

This commit is contained in:
katherinehhh 2023-04-25 17:59:31 +08:00 committed by GitHub
parent bc8d81333b
commit 5d95eed09a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -403,7 +403,6 @@ export const Gantt: any = (props: any) => {
await resource.update({
filterByTk: task.id,
values: {
...task,
[fieldNames.progress]: task.progress / 100,
},
});
@ -414,7 +413,6 @@ export const Gantt: any = (props: any) => {
await resource.update({
filterByTk: task.id,
values: {
...task,
[fieldNames.start]: task.start,
[fieldNames.end]: task.end,
},