Skip to content

Commit

Permalink
fix: 任务详情页主机列表分页字段变更 TencentBlueKing#2957
Browse files Browse the repository at this point in the history
# Reviewed, transaction id: 7167
  • Loading branch information
hLinx committed May 7, 2024
1 parent de315d1 commit f97fb9e
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@
id: 0,
batch: '',
executeCount: '',
maxIpsPerResultGroup: 0,
maxTasksPerResultGroup: 0,
keyword: '', // 日志的筛选值
searchIp: '', // ip的筛选值
orderField: '', // 排序字段
Expand Down Expand Up @@ -326,7 +326,7 @@
* 2,分组信息在执行过程中会变,如果已选中的分组不存在了自动选中第一个分组
*/
fetchStep: _.debounce(function () {
if (this.params.id < 1 || this.params.maxIpsPerResultGroup < 1) {
if (this.params.id < 1 || this.params.maxTasksPerResultGroup < 1) {
return;
}

Expand Down Expand Up @@ -474,7 +474,7 @@
* @param {Number} pageSize 每页条数
*/
handlePaginationChange(pageSize) {
this.params.maxIpsPerResultGroup = pageSize;
this.params.maxTasksPerResultGroup = pageSize;
this.paginationChangeLoading = true;
this.fetchStep();
},
Expand Down

0 comments on commit f97fb9e

Please sign in to comment.