Skip to content

Commit

Permalink
[fix WeBankFinTech#572] fix bug that apiservice can't get result
Browse files Browse the repository at this point in the history
What is the purpose of the change
fix WeBankFinTech#572, that apiservice can't get result

Brief change log
update execute.js

Verifying this change
yes.

Does this pull request potentially affect one of the following parts:
Dependencies (does it add or upgrade a dependency): no
Anything that affects deployment: yes
The Core framework, i.e., AppConn, Orchestrator, ApiService.: no
Documentation
Does this pull request introduce a new feature? no
If yes, how is the feature documented? not documented
  • Loading branch information
wayson20 authored May 6, 2022
1 parent 049c3d9 commit 1d8b18d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion web/src/common/service/execute.js
Original file line number Diff line number Diff line change
Expand Up @@ -376,6 +376,7 @@ Execute.prototype.getFirstResult = function() {
taskID: this.taskID,
status: this.status,
});
const pageSize = 5000;
let params = {
path: this.currentResultPath,
pageSize,
Expand All @@ -385,7 +386,7 @@ Execute.prototype.getFirstResult = function() {
params.taskId = this.taskID
}
const url = `/${this.getResultUrl}/openFile`;
const pageSize = 5000;

api.fetch(url, params, 'get')
.then((rst) => {
this.trigger('result', rst);
Expand Down

0 comments on commit 1d8b18d

Please sign in to comment.