Skip to content

Commit

Permalink
fix: 查看上传文件大量日志时前端 api 参数错误 TencentBlueKing#3009
Browse files Browse the repository at this point in the history
# Reviewed, transaction id: 9209
  • Loading branch information
hLinx committed Jun 4, 2024
1 parent b020bc7 commit 4f404c9
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/frontend/src/domain/source/task-execute.js
Original file line number Diff line number Diff line change
Expand Up @@ -98,12 +98,8 @@ class TaskExecute extends ModuleBase {
stepInstanceId,
} = params;

const realParams = { ...params };
delete realParams.taskInstanceId;
delete realParams.stepInstanceId;

return Request.post(`${this.path}/taskInstance/${taskInstanceId}/stepInstance/${stepInstanceId}/fileLog/queryByIds`, {
params: realParams,
params: params.taskIds,
});
}

Expand Down

0 comments on commit 4f404c9

Please sign in to comment.