add flowchart dead data info
Some checks failed
Deploy / deploy (push) Has been cancelled

This commit is contained in:
2025-12-13 17:48:31 +08:00
parent f0f9c74973
commit 1cb96a1073
8 changed files with 389 additions and 19 deletions

View File

@@ -48,10 +48,14 @@ async function loadUserProgress() {
// 监听分页参数变化
watch([() => query.page, () => query.limit], loadUserProgress)
// 监听班级过滤变化(防抖)
watchDebounced(classFilter, () => {
query.page = 1 // 重置到第一页
loadUserProgress()
}, { debounce: 500 })
watchDebounced(
classFilter,
() => {
query.page = 1 // 重置到第一页
loadUserProgress()
},
{ debounce: 500 },
)
// 使用后端返回的统计数据
const stats = computed(() => {