mirror of
https://gitee.com/dapppp/ruoyi-plus-vben5.git
synced 2026-04-09 18:53:15 +08:00
fix: 更新表格增加minWidth属性
This commit is contained in:
@@ -39,19 +39,22 @@ export const columns: VxeGridProps['columns'] = [
|
||||
{
|
||||
title: '用户账号',
|
||||
field: 'userName',
|
||||
minWidth: 120,
|
||||
},
|
||||
{
|
||||
title: '登录平台',
|
||||
field: 'clientKey',
|
||||
minWidth: 100,
|
||||
},
|
||||
{
|
||||
title: 'IP地址',
|
||||
field: 'ipaddr',
|
||||
minWidth: 180,
|
||||
},
|
||||
{
|
||||
title: 'IP地点',
|
||||
field: 'loginLocation',
|
||||
width: 200,
|
||||
minWidth: 160,
|
||||
},
|
||||
{
|
||||
title: '浏览器',
|
||||
@@ -61,6 +64,7 @@ export const columns: VxeGridProps['columns'] = [
|
||||
return renderBrowserIcon(row.browser, true) as VNode;
|
||||
},
|
||||
},
|
||||
minWidth: 180,
|
||||
},
|
||||
{
|
||||
title: '系统',
|
||||
@@ -80,6 +84,7 @@ export const columns: VxeGridProps['columns'] = [
|
||||
return renderOsIcon(value, true) as VNode;
|
||||
},
|
||||
},
|
||||
minWidth: 180,
|
||||
},
|
||||
{
|
||||
title: '登录结果',
|
||||
@@ -89,20 +94,23 @@ export const columns: VxeGridProps['columns'] = [
|
||||
return renderDict(row.status, DictEnum.SYS_COMMON_STATUS);
|
||||
},
|
||||
},
|
||||
minWidth: 100,
|
||||
},
|
||||
{
|
||||
title: '信息',
|
||||
field: 'msg',
|
||||
minWidth: 120,
|
||||
},
|
||||
{
|
||||
title: '日期',
|
||||
field: 'loginTime',
|
||||
minWidth: 160,
|
||||
},
|
||||
{
|
||||
field: 'action',
|
||||
fixed: 'right',
|
||||
slots: { default: 'action' },
|
||||
title: '操作',
|
||||
width: 150,
|
||||
width: 'auto',
|
||||
},
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user