From 8ae817ffb3e7f8152c281f0744d9343011a76b3c Mon Sep 17 00:00:00 2001 From: lilinyuan <1084668738@qq.com> Date: Thu, 4 Jul 2024 10:04:28 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=88=86=E9=A1=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/fvcomponents/fvTable/index.vue | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/fvcomponents/fvTable/index.vue b/src/fvcomponents/fvTable/index.vue index 0f37907..9cbaebe 100644 --- a/src/fvcomponents/fvTable/index.vue +++ b/src/fvcomponents/fvTable/index.vue @@ -227,10 +227,8 @@ const getList = async () => { } else { localData.list = data } - if (data.total) { - localData.total = data.total - emits('getTotal', localData.total) - } + localData.total = data.total + emits('getTotal', localData.total) localData.loading = false } else { ElNotification({