mirror of
https://github.com/kuaifan/dootask.git
synced 2025-12-30 07:30:22 +00:00
fix: 修复搜索结果显示即将到期
This commit is contained in:
parent
0535b56766
commit
919289c5ca
@ -351,7 +351,7 @@ export default {
|
||||
name: this.$L('超期'),
|
||||
style: 'background-color:#f00',
|
||||
})
|
||||
} else if ($A.dayjs(item.end_at).unix() - nowTime < 86400) {
|
||||
} else if (item.end_at && $A.dayjs(item.end_at).unix() - nowTime < 86400) {
|
||||
tags.push({
|
||||
name: this.$L('即将到期'),
|
||||
style: 'background-color:#f80',
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user