feat: 添加音频

This commit is contained in:
zyronon
2025-05-19 03:48:34 +08:00
parent 8235edb84d
commit 2d84928eb0
6 changed files with 108 additions and 55 deletions

View File

@@ -254,7 +254,7 @@ export function _getStudyProgress(index: number, total: number) {
return Number(((index / total) * 100).toFixed())
}
export function _nextTick(cb: Function, time?: number) {
export function _nextTick(cb: () => void, time?: number) {
if (time) {
nextTick(() => setTimeout(cb, time))
} else {