From 950b80faef31acaabb5a3b689509b560639ca4f8 Mon Sep 17 00:00:00 2001 From: lideqin <694785430@qq.com> Date: Tue, 30 Jan 2024 13:50:03 +0800 Subject: [PATCH] =?UTF-8?q?[update]=20=E4=BF=AE=E6=94=B9bug81480?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/ProcessDetailList.vue | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/components/ProcessDetailList.vue b/src/components/ProcessDetailList.vue index d7070a83..7d4b0d01 100644 --- a/src/components/ProcessDetailList.vue +++ b/src/components/ProcessDetailList.vue @@ -39,6 +39,7 @@ :columns="columns" :dataSource="dataSource" :can-drag="true" + :loading="loading" :rowKey="record => {return record.id + ',' + (record.taskId || '')}" :row-selection="{ selectedRowKeys: selectedRowKeys, onChange: onSelectChange }" :pagination="ipagination" @@ -252,6 +253,11 @@ export default { if (res.success) { // update-begin---author:zhangyafei Date:20201118 for:适配不分页的数据列表------------ this.dataSource = res.result.records || res.result + if (res.result.total) { + this.ipagination.total = res.result.total + } else { + this.ipagination.total = 0 + } // update-end---author:zhangyafei Date:20201118 for:适配不分页的数据列表------------ } else { this.$message.warning(res.message)