Skip to content

Commit

Permalink
bugfix: 任务历史详情左侧IP列表分页异常 (close TencentBlueKing#349)
Browse files Browse the repository at this point in the history
  • Loading branch information
GONGONGONG committed Dec 16, 2021
1 parent 4268dd0 commit a422f6d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions dev_log/2.1.360/daoqgong_202112161526 copy.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
bugfix:
- "任务历史详情左侧IP列表分页异常 (fixed #349)"
2 changes: 2 additions & 0 deletions frontend/src/views/task/task-log.vue
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
:current.sync="pagination.current"
:show-limit="false"
:limit="pagination.limit"
:limit-list="pagination.limitList"
align="center"
@change="handlePageChange" />
</div>
Expand Down Expand Up @@ -293,6 +294,7 @@ export default {
current: isNaN(this.query.page) ? 1 : Number(this.query.page),
count: 0,
limit: isNaN(this.query.pageSize) ? 50 : Number(this.query.pageSize),
limitList: [isNaN(this.query.pageSize) ? 50 : Number(this.query.pageSize)], // 需要把自定义pagesize塞进去
},
listLoading: false,
relativePosition: 0,
Expand Down

0 comments on commit a422f6d

Please sign in to comment.