From f812b4af4da3461bfce5f9fc6083dbf6ef7c90a8 Mon Sep 17 00:00:00 2001 From: lilinyuan <1084668738@qq.com> Date: Wed, 19 Jun 2024 11:25:50 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=96=B0=E5=A2=9Etable=E8=8E=B7?= =?UTF-8?q?=E5=8F=96=E6=95=B0=E6=8D=AE=E6=80=BB=E9=87=8F=E6=96=B9=E6=B3=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/fvcomponents/fvTable/index.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/fvcomponents/fvTable/index.vue b/src/fvcomponents/fvTable/index.vue index a75c5ca..75a0952 100644 --- a/src/fvcomponents/fvTable/index.vue +++ b/src/fvcomponents/fvTable/index.vue @@ -144,7 +144,7 @@ const localData = reactive({ checkGroup: [] }) -const emits = defineEmits(['headBtnClick', 'selectionChange', 'rowClick', 'rowDblclick', 'getBaseQuery', 'cellClick']) +const emits = defineEmits(['headBtnClick', 'selectionChange', 'rowClick', 'rowDblclick', 'getBaseQuery', 'cellClick', 'getTotal']) const handleClickBtns = (key) => { emits('headBtnClick', key) @@ -211,6 +211,7 @@ const getList = async () => { } if(data.total){ localData.total = data.total + emits('getTotal', localData.total) } localData.loading = false } else {