mirror of
https://gitee.com/dapppp/ruoyi-plus-vben5.git
synced 2026-03-23 03:24:31 +08:00
fix: 更新表格增加minWidth属性
This commit is contained in:
@@ -50,7 +50,7 @@ export const querySchema: FormSchemaGetter = () => [
|
||||
|
||||
export const columns: VxeGridProps['columns'] = [
|
||||
{ type: 'checkbox', width: 60 },
|
||||
{ field: 'title', title: '系统模块' },
|
||||
{ field: 'title', title: '系统模块', minWidth: 120 },
|
||||
{
|
||||
title: '操作类型',
|
||||
field: 'businessType',
|
||||
@@ -59,10 +59,11 @@ export const columns: VxeGridProps['columns'] = [
|
||||
return renderDict(row.businessType, DictEnum.SYS_OPER_TYPE);
|
||||
},
|
||||
},
|
||||
minWidth: 120,
|
||||
},
|
||||
{ field: 'operName', title: '操作人员' },
|
||||
{ field: 'operIp', title: 'IP地址' },
|
||||
{ field: 'operLocation', title: 'IP信息' },
|
||||
{ field: 'operName', title: '操作人员', minWidth: 120 },
|
||||
{ field: 'operIp', title: 'IP地址', minWidth: 180 },
|
||||
{ field: 'operLocation', title: 'IP信息', minWidth: 160 },
|
||||
{
|
||||
field: 'status',
|
||||
title: '操作状态',
|
||||
@@ -71,8 +72,9 @@ export const columns: VxeGridProps['columns'] = [
|
||||
return renderDict(row.status, DictEnum.SYS_COMMON_STATUS);
|
||||
},
|
||||
},
|
||||
minWidth: 100,
|
||||
},
|
||||
{ field: 'operTime', title: '操作日期', sortable: true },
|
||||
{ field: 'operTime', title: '操作日期', sortable: true, minWidth: 160 },
|
||||
{
|
||||
field: 'costTime',
|
||||
title: '操作耗时',
|
||||
@@ -80,6 +82,7 @@ export const columns: VxeGridProps['columns'] = [
|
||||
formatter({ cellValue }) {
|
||||
return `${cellValue} ms`;
|
||||
},
|
||||
minWidth: 100,
|
||||
},
|
||||
{
|
||||
field: 'action',
|
||||
|
||||
Reference in New Issue
Block a user