From 0ab029a1242156e179c557fb7a0290d2f8a9f91c Mon Sep 17 00:00:00 2001 From: mdb <734436664@qq.com> Date: Tue, 18 Jun 2024 21:09:03 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=20crud=20=E7=BB=84?= =?UTF-8?q?=E4=BB=B6=E4=B8=8D=E6=98=BE=E7=A4=BA=E6=80=BB=E6=9D=A1=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/me/crud/index.vue | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/components/me/crud/index.vue b/src/components/me/crud/index.vue index b41a10a..735430f 100644 --- a/src/components/me/crud/index.vue +++ b/src/components/me/crud/index.vue @@ -95,7 +95,13 @@ const emit = defineEmits(['update:queryItems', 'onChecked', 'onDataChange']) const loading = ref(false) const initQuery = { ...props.queryItems } const tableData = ref([]) -const pagination = reactive({ page: 1, pageSize: 10 }) +const pagination = reactive({ + page: 1, + pageSize: 10, + prefix({ itemCount }) { + return `共 ${itemCount} 条数据` + }, +}) async function handleQuery() { try {