From e0588234ee9d05f7b1b2bd535bafc8e404f7c545 Mon Sep 17 00:00:00 2001 From: dap <15891557205@163.com> Date: Tue, 5 Nov 2024 14:28:37 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E5=88=97=E5=AE=BD=E8=AE=BE=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/web-antd/src/views/system/user/data.tsx | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/apps/web-antd/src/views/system/user/data.tsx b/apps/web-antd/src/views/system/user/data.tsx index bcfc3ff6..75c510c9 100644 --- a/apps/web-antd/src/views/system/user/data.tsx +++ b/apps/web-antd/src/views/system/user/data.tsx @@ -43,20 +43,23 @@ export const columns: VxeGridProps['columns'] = [ { field: 'userName', title: '名称', + minWidth: 80, }, { field: 'nickName', title: '昵称', + minWidth: 130, }, { field: 'avatar', title: '头像', slots: { default: 'avatar' }, - width: 80, + minWidth: 80, }, { field: 'deptName', title: '部门', + minWidth: 120, }, { field: 'phonenumber', @@ -64,21 +67,25 @@ export const columns: VxeGridProps['columns'] = [ formatter({ cellValue }) { return cellValue || '暂无'; }, + minWidth: 120, }, { field: 'status', title: '状态', slots: { default: 'status' }, + minWidth: 100, }, { field: 'createTime', title: '创建时间', + minWidth: 150, }, { field: 'action', fixed: 'right', slots: { default: 'action' }, title: '操作', + resizable: false, width: 180, }, ];