From c62976848deaaa4ac8df5cf1d0fd530fc9c2db14 Mon Sep 17 00:00:00 2001 From: lideqin <694785430@qq.com> Date: Tue, 7 Nov 2023 10:15:04 +0800 Subject: [PATCH] =?UTF-8?q?[update]=20=E4=BF=AE=E6=94=B9bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../standard/modules/AllocationStandardDrawer.vue | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/views/enterpriseStandardLibrary/standard/modules/AllocationStandardDrawer.vue b/src/views/enterpriseStandardLibrary/standard/modules/AllocationStandardDrawer.vue index baf3b986..6c13012c 100644 --- a/src/views/enterpriseStandardLibrary/standard/modules/AllocationStandardDrawer.vue +++ b/src/views/enterpriseStandardLibrary/standard/modules/AllocationStandardDrawer.vue @@ -156,7 +156,11 @@ export default { allocationStandardList(query).then((res) => { if (res.success) { this.dataList = res.result.records - this.ipagination.total = res.result.total + if (res.result.total) { + this.ipagination.total = res.result.total + } else { + this.ipagination.total = 0 + } } else { this.dataList = [] }