v1.4.2-patch.2 - bugfix: tasklist列宽度设置问题

This commit is contained in:
LINING-PC\lining
2025-11-11 12:17:05 +08:00
parent cacaece319
commit 1b17d50bcd
10 changed files with 140 additions and 15 deletions
+2 -2
View File
@@ -48,13 +48,13 @@ const toolbarConfig = {
// TaskList列配置
const availableColumns = ref<TaskListColumnConfig[]>([
{ key: 'predecessor', label: '前置任务', visible: true },
{ key: 'assignee', label: '负责人', visible: true },
{ key: 'assignee', label: '负责人', visible: true, width: 250 },
{ key: 'startDate', label: '开始日期', visible: true },
{ key: 'endDate', label: '结束日期', visible: true },
{ key: 'estimatedHours', label: '预估工时', visible: true },
{ key: 'actualHours', label: '实际工时', visible: true },
{ key: 'progress', label: '进度', visible: true },
{ key: 'custom', label: '自定义列', visible: true, width: 120 }, // 添加默认宽度120px
{ key: 'custom', label: '自定义列', visible: true, width: '30%' }, // 添加默认宽度120px
])
// TaskList宽度配置