fix(统计): 按班级列的时候零星一两个人补做的班排在最前,改成交过的人多的在前
Deploy / deploy (push) Canceled after 0s

题目页「各班做得怎样」和数据统计「按班级汇总」一起改,两边顺序一致。

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
xuyueandClaude Opus 5.5 committed 2026-09-30 00:59:41 +08:00
1 parent 50d8e072ac
commit 13051926cf
4 files changed
+64 -51

No files matched your search

@@ -130,7 +130,7 @@ const stuck = computed(() => {
// ---------- 老师:各班的表 ----------
/** 班多的老题(1001 这种十几个班都做过)先给 6 个,最近做的在前 */
/** 班多的老题(1001 这种十几个班都做过)先给 6 个,交过的人多的在前 */
const allClasses = ref(false)
const shownClasses = computed(() =>
allClasses.value ? (stats.value?.classes ?? []) : (stats.value?.classes ?? []).slice(0, 6),