#feature: add AI log analysis & some bugfix
This commit is contained in:
1 parent
e479ed02ea
commit
ae6c169f5f
33 files changed
+3898
-164
No files matched your search
@@ -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