#feature: add AI log analysis & some bugfix
This commit is contained in:
@@ -313,6 +313,12 @@ export default {
|
||||
bValue = b.parent_task ? b.parent_task.key : '';
|
||||
}
|
||||
|
||||
// 特殊处理日期时间排序:结合 date 和 time 字段
|
||||
if (this.sortField === 'date') {
|
||||
aValue = `${a.date || ''} ${a.time || '00:00'}`;
|
||||
bValue = `${b.date || ''} ${b.time || '00:00'}`;
|
||||
}
|
||||
|
||||
// 处理空值
|
||||
if (!aValue && !bValue) return 0;
|
||||
if (!aValue) return this.sortDirection === 'asc' ? -1 : 1;
|
||||
|
||||
Reference in New Issue
Block a user