From 29c062a4a85bd31bbdd117f879b2474ab7613423 Mon Sep 17 00:00:00 2001 From: dap <15891557205@163.com> Date: Sat, 5 Apr 2025 14:41:20 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20[vxe=20table=20v4.12.5]=20=E5=8F=82?= =?UTF-8?q?=E6=95=B0=20"row-config.height"=20=E5=B7=B2=E5=BA=9F=E5=BC=83?= =?UTF-8?q?=EF=BC=8C=E8=AF=B7=E4=BD=BF=E7=94=A8=20"cell-config.height"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/web-antd/src/views/system/oss/index.vue | 4 +++- apps/web-antd/src/views/system/user/index.vue | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/apps/web-antd/src/views/system/oss/index.vue b/apps/web-antd/src/views/system/oss/index.vue index 381ad6c0..9777121f 100644 --- a/apps/web-antd/src/views/system/oss/index.vue +++ b/apps/web-antd/src/views/system/oss/index.vue @@ -83,9 +83,11 @@ const gridOptions: VxeGridProps = { }, }, }, + cellConfig: { + height: 65, + }, rowConfig: { keyField: 'ossId', - height: 65, }, sortConfig: { // 远程排序 diff --git a/apps/web-antd/src/views/system/user/index.vue b/apps/web-antd/src/views/system/user/index.vue index 87c75c94..53d2e36b 100644 --- a/apps/web-antd/src/views/system/user/index.vue +++ b/apps/web-antd/src/views/system/user/index.vue @@ -113,9 +113,11 @@ const gridOptions: VxeGridProps = { }, }, }, + cellConfig: { + height: 48, + }, rowConfig: { keyField: 'userId', - height: 48, }, id: 'system-user-index', };