v1.4.6 - bugfix
This commit is contained in:
@@ -187,6 +187,18 @@ const allowDragAndResize = ref(true)
|
||||
// 控制是否启用TaskRow拖拽移动
|
||||
const enableTaskRowMove = ref(true)
|
||||
|
||||
// 指派人员选项列表
|
||||
const assigneeOptions = ref([
|
||||
{ value: 'zhangsan', label: '张三' },
|
||||
{ value: 'lisi', label: '李四' },
|
||||
{ value: 'wangwu', label: '王五' },
|
||||
{ value: 'zhaoliu', label: '赵六' },
|
||||
{ value: 'qianqi', label: '钱七' },
|
||||
{ key: 'user_sunba', value: 'sunba', label: '孙八' }, // 示例:使用自定义 key
|
||||
{ value: 'zhoujiu', label: '周九' },
|
||||
{ value: 'wushi', label: '吴十' },
|
||||
])
|
||||
|
||||
// TaskBar配置
|
||||
const taskBarOptions = ref({
|
||||
showAvatar: true,
|
||||
@@ -1088,6 +1100,7 @@ const handleTaskRowMoved = async (payload: {
|
||||
:use-default-milestone-dialog="true"
|
||||
:allow-drag-and-resize="allowDragAndResize"
|
||||
:enable-task-row-move="enableTaskRowMove"
|
||||
:assignee-options="assigneeOptions"
|
||||
:on-export-csv="handleCustomCsvExport"
|
||||
:on-language-change="handleLanguageChange"
|
||||
:on-theme-change="handleThemeChange"
|
||||
|
||||
@@ -342,5 +342,17 @@
|
||||
"Optimized: Task item move and drag-and-drop functionality in the task list",
|
||||
"<span style=\"font-weight: bold; color: #f00;\">Special thanks to jun201607@github for their valuable use and feedback</span>"
|
||||
]
|
||||
},
|
||||
{
|
||||
"version": "1.4.6",
|
||||
"date": "2025-12-09",
|
||||
"notes": [
|
||||
"修复:内置TaskDrawer中负责人列表可以外部初始化",
|
||||
"修复:未设置startDate和endDate时,任务无法正确显示的问题",
|
||||
"<span style=\"font-weight: bold; color: #f00;\">特别感谢 yue-xiaochuan & YQ6494@gitee的使用及反馈的宝贵意见</span>",
|
||||
"Fixed: The assignee list in the built-in TaskDrawer can be initialized externally",
|
||||
"Fixed: The issue where tasks could not be displayed correctly when startDate and endDate were not set",
|
||||
"<span style=\"font-weight: bold; color: #f00;\">Special thanks to yue-xiaochuan & YQ6494@gitee for their valuable use and feedback</span>"
|
||||
]
|
||||
}
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user