(_: any, index: number)
| 2607 | ((workInfo?.rt?.examBase?.workExamParts as any[]) || [])?.map((p) => p.questionDtos).flat() || []; |
| 2608 | |
| 2609 | const titleTransform = (_: any, index: number) => { |
| 2610 | const div = h('div'); |
| 2611 | |
| 2612 | div.innerHTML = allExamParts[index]?.name || '题目读取失败'; |
| 2613 | return removeRedundantWords( |
| 2614 | optimizationElementWithImage(div, true).innerText || '', |
| 2615 | redundanceWordsText.split('\n') |
| 2616 | ); |
| 2617 | }; |
| 2618 | let request_index = 0; |
| 2619 | /** 新建答题器 */ |
| 2620 | const worker = new OCSWorker({ |
no test coverage detected