mirror of
https://gitee.com/huangge1199_admin/vue-pro.git
synced 2024-11-30 03:01:53 +08:00
perf: 添加默认最小列宽
This commit is contained in:
parent
6eb908dc4c
commit
6b35f5c664
@ -208,7 +208,8 @@ const filterTableSchema = (crudSchema: VxeCrudSchema): VxeGridPropTypes.Columns
|
|||||||
const tableSchemaItem = {
|
const tableSchemaItem = {
|
||||||
...schemaItem.table,
|
...schemaItem.table,
|
||||||
field: schemaItem.field,
|
field: schemaItem.field,
|
||||||
title: schemaItem.table?.title || schemaItem.title
|
title: schemaItem.table?.title || schemaItem.title,
|
||||||
|
minWidth: '80px'
|
||||||
}
|
}
|
||||||
tableSchemaItem.showOverflow = 'tooltip'
|
tableSchemaItem.showOverflow = 'tooltip'
|
||||||
if (schemaItem?.formatter) {
|
if (schemaItem?.formatter) {
|
||||||
|
Loading…
Reference in New Issue
Block a user