Commit 6b35f5c664e6abc449b157f610b64abaf2ef0389

Authored by xingyu
1 parent 6eb908dc

perf: 添加默认最小列宽

yudao-ui-admin-vue3/src/hooks/web/useVxeCrudSchemas.ts
... ... @@ -208,7 +208,8 @@ const filterTableSchema = (crudSchema: VxeCrudSchema): VxeGridPropTypes.Columns
208 208 const tableSchemaItem = {
209 209 ...schemaItem.table,
210 210 field: schemaItem.field,
211   - title: schemaItem.table?.title || schemaItem.title
  211 + title: schemaItem.table?.title || schemaItem.title,
  212 + minWidth: '80px'
212 213 }
213 214 tableSchemaItem.showOverflow = 'tooltip'
214 215 if (schemaItem?.formatter) {
... ...