Commit 623e76eb authored by limingzhe's avatar limingzhe

feat: 预加载图片

parent 2f4f90ce
......@@ -623,6 +623,11 @@ export class PlayComponent implements OnInit, OnDestroy {
for (let i=0; i<choiceQuesArr.length; i++) {
addPicUrl(choiceQuesArr[i].title_pic_url || '');
addPicUrl(choiceQuesArr[i].ques_pic_url || '');
const optionArr2 = choiceQuesArr[i].optionArr;
for (let j=0; j<optionArr2.length; j++) {
addPicUrl(optionArr2[j].pic_url || '');
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment