mirror of
https://github.com/kuaifan/dootask.git
synced 2026-01-07 05:13:11 +00:00
fix: 修复搜索结果显示即将到期
This commit is contained in:
parent
0535b56766
commit
919289c5ca
@ -351,7 +351,7 @@ export default {
|
|||||||
name: this.$L('超期'),
|
name: this.$L('超期'),
|
||||||
style: 'background-color:#f00',
|
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({
|
tags.push({
|
||||||
name: this.$L('即将到期'),
|
name: this.$L('即将到期'),
|
||||||
style: 'background-color:#f80',
|
style: 'background-color:#f80',
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user