From e82437a2dbf6b0342c89ac091b5e2100cad5a26c Mon Sep 17 00:00:00 2001 From: eilenexuzhe Date: Mon, 20 Apr 2020 19:30:06 +0800 Subject: [PATCH] fix unit error --- console/src/container/modal/task-new.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/console/src/container/modal/task-new.tsx b/console/src/container/modal/task-new.tsx index aa4a55fb..91ec125a 100644 --- a/console/src/container/modal/task-new.tsx +++ b/console/src/container/modal/task-new.tsx @@ -28,7 +28,7 @@ class Task extends React.Component { values.partitionIdList = typeof partitionIdList === 'string' ? values.partitionIdList.split(',') : []; if (this.getDisabled()) { const { taskId } = operation.taskDetail; - modifyTask({ throttle, taskId, action: 'modify' }).then(() => { + modifyTask({ throttle: values.throttle, taskId, action: 'modify' }).then(() => { notification.success({ message: '修改成功' }); operation.getTask(); modal.close();