From 617aa8c00b8295a0c98f5c04c3d64078e3362296 Mon Sep 17 00:00:00 2001 From: Gzx1999 Date: Tue, 28 Nov 2023 15:16:18 +0800 Subject: [PATCH] upate PGTable layout --- frontend/src/components/PGTable.vue | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/frontend/src/components/PGTable.vue b/frontend/src/components/PGTable.vue index 00b68d8..041a612 100644 --- a/frontend/src/components/PGTable.vue +++ b/frontend/src/components/PGTable.vue @@ -58,8 +58,8 @@ const props = defineProps({ const emit = defineEmits(['update:selectedData']) const onSelectionChange = (val: any[]) => { - let d:any[] = [] - val.forEach((item:any)=> { + let d: any[] = [] + val.forEach((item: any) => { d.push(toRaw(item)) }) @@ -101,6 +101,13 @@ const onSelectionChange = (val: any[]) => { width: 100%; height: 40px; + :deep(.el-pagination) { + justify-content: flex-end; + + .el-pagination__sizes { + flex: 1, + } + } } } \ No newline at end of file -- Gitee