diff --git a/web/src/common/service/execute.js b/web/src/common/service/execute.js index 5b78ae34d5..e7bcae670d 100755 --- a/web/src/common/service/execute.js +++ b/web/src/common/service/execute.js @@ -376,6 +376,7 @@ Execute.prototype.getFirstResult = function() { taskID: this.taskID, status: this.status, }); + const pageSize = 5000; let params = { path: this.currentResultPath, pageSize, @@ -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);