MCPcopy Create free account
hub / github.com/Xu22Web/tech-study-js / initExam

Function initExam

tech-study.js:3506–3514  ·  view source on GitHub ↗

* @description 初始化总页数属性

()

Source from the content-addressed store, hash-verified

3504 * @description 初始化总页数属性
3505 */
3506async function initExam() {
3507 // 默认从第一页获取全部页属性
3508 const data = await getExamPaper(1);
3509 if (data) {
3510 // 等待
3511 await sleep(3000);
3512 return data.totalPageCount;
3513 }
3514}
3515/**
3516 * @description 查询专项练习列表
3517 */

Callers 1

findExamPaperFunction · 0.70

Calls 2

getExamPaperFunction · 0.70
sleepFunction · 0.70

Tested by

no test coverage detected