diff --git a/src/components/common/MeVxeGrid.vue b/src/components/common/MeVxeGrid.vue
index 6ecb1ea..5e0ac3d 100644
--- a/src/components/common/MeVxeGrid.vue
+++ b/src/components/common/MeVxeGrid.vue
@@ -21,6 +21,9 @@
+
+ 共 {{ pagerConfig.total }} 条数据
+
@@ -135,7 +138,7 @@ const pagerConfig = computed(() => {
return {
currentPage: props.pagination.pageNo,
pageSize: props.pagination.pageSize,
- total: props.pagination.itemCount,
+ total: props.pagination.itemCount || 0,
background: true,
size: 'small',
layouts: [
@@ -146,8 +149,11 @@ const pagerConfig = computed(() => {
'End',
'Sizes',
'FullJump',
- 'Total',
+ // 'Total',
],
+ slots: {
+ right: 'total',
+ },
}
})
/**