From a422f6dceb3605a2c078072eaeaa5a50049983b7 Mon Sep 17 00:00:00 2001 From: GONGONGONG <506419689@qq.com> Date: Thu, 16 Dec 2021 15:26:04 +0800 Subject: [PATCH] =?UTF-8?q?bugfix:=20=E4=BB=BB=E5=8A=A1=E5=8E=86=E5=8F=B2?= =?UTF-8?q?=E8=AF=A6=E6=83=85=E5=B7=A6=E4=BE=A7IP=E5=88=97=E8=A1=A8?= =?UTF-8?q?=E5=88=86=E9=A1=B5=E5=BC=82=E5=B8=B8=20(close=20#349)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dev_log/2.1.360/daoqgong_202112161526 copy.yaml | 3 +++ frontend/src/views/task/task-log.vue | 2 ++ 2 files changed, 5 insertions(+) create mode 100644 dev_log/2.1.360/daoqgong_202112161526 copy.yaml diff --git a/dev_log/2.1.360/daoqgong_202112161526 copy.yaml b/dev_log/2.1.360/daoqgong_202112161526 copy.yaml new file mode 100644 index 000000000..69f1449ee --- /dev/null +++ b/dev_log/2.1.360/daoqgong_202112161526 copy.yaml @@ -0,0 +1,3 @@ +--- +bugfix: + - "任务历史详情左侧IP列表分页异常 (fixed #349)" diff --git a/frontend/src/views/task/task-log.vue b/frontend/src/views/task/task-log.vue index b556fde14..830665616 100644 --- a/frontend/src/views/task/task-log.vue +++ b/frontend/src/views/task/task-log.vue @@ -38,6 +38,7 @@ :current.sync="pagination.current" :show-limit="false" :limit="pagination.limit" + :limit-list="pagination.limitList" align="center" @change="handlePageChange" /> @@ -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,