fix(培训课程):优化培训课程
This commit is contained in:
1 parent
e378e8b7fd
commit
aae041a0b4
19 files changed
+777
-188
No files matched your search
@@ -377,6 +377,8 @@ const loadAll = async () => {
|
||||
const exam = r && unwrap<{ record: TrainingExamRecord | null; passed: boolean }>(r)
|
||||
examRecord.value = exam?.record || null
|
||||
examPassed.value = !!exam?.passed
|
||||
// [2026-11 需求] 进入有课件的课程默认打开第一个课件,免手动从左侧选择
|
||||
if (materials.value.length) void openMaterial(materials.value[0])
|
||||
} finally {
|
||||
loading.value = false
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user