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({