fix: 中奖公示期次标签按开奖日期正序编号(二期不再顶成第1期),补记第二期上线文档(此改动已于2026-10-15发布线上)

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
jacobxu666
2026-10-16 15:21:47 +08:00
co-authored by Claude Fable 5
parent b48c8e1e55
commit adbd52a2c5
2 changed files with 10 additions and 1 deletions
+2 -1
View File
@@ -127,7 +127,8 @@ export default {
this.$u.api.getWinnerDates().then(res => {
this.datesLoaded = true
if (res.errcode === 0 && res.data) {
const dates = res.data
// xuchao: 后端按日期倒序返回,期次须按开奖日期正序(最早=第一期),否则二期会被标成"第1期"
const dates = res.data.slice().sort()
this.tabs = dates.map((date, index) => ({
name: `第${index + 1}期`,
date: date