sdsd
This commit is contained in:
parent
859b9851a9
commit
8410bc1040
@ -38,6 +38,9 @@ Page({
|
||||
const list = res.list.map(item => {
|
||||
const startDate = new Date(item.start_date)
|
||||
const endDate = new Date(item.end_date)
|
||||
if (startDate == endDate && today == startDate){
|
||||
item.status = '进行中'
|
||||
}
|
||||
if (today > endDate) {
|
||||
item.status = '已结束'
|
||||
} else if (today < startDate) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user