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, }, ];