(detail = {})
| 247 | } |
| 248 | |
| 249 | todayAward(detail = {}) { |
| 250 | const today = todayText(); |
| 251 | const awards = Array.isArray(detail.baseAwards) ? detail.baseAwards : []; |
| 252 | return awards.find((item) => String(item.signTime || "").slice(0, 10) === today) || awards[0] || {}; |
| 253 | } |
| 254 | |
| 255 | async querySignDetail() { |
| 256 | const detail = await this.getSignDetail(); |
no test coverage detected