Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
JM_MATH01
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
template admin
JM_MATH01
Commits
2f4f90ce
Commit
2f4f90ce
authored
Nov 22, 2021
by
limingzhe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 预加载
parent
46cf38ff
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
0 deletions
+18
-0
play.component.ts
src/app/play/play.component.ts
+18
-0
No files found.
src/app/play/play.component.ts
View file @
2f4f90ce
...
...
@@ -443,7 +443,13 @@ export class PlayComponent implements OnInit, OnDestroy {
}
const
choiceQuesArr
=
contentObj
.
choiceQuesArr
;
if
(
choiceQuesArr
)
{
for
(
let
i
=
0
;
i
<
choiceQuesArr
.
length
;
i
++
)
{
addUrlToAudioObj
(
choiceQuesArr
[
i
].
title_audio_url
);
}
}
...
...
@@ -550,6 +556,11 @@ export class PlayComponent implements OnInit, OnDestroy {
addVideoUrl
(
op2Arr
[
j
].
pic_url
||
''
);
}
}
const
choiceQuesArr
=
this
.
data
.
contentObj
.
choiceQuesArr
;
for
(
let
i
=
0
;
i
<
choiceQuesArr
.
length
;
i
++
)
{
addVideoUrl
(
choiceQuesArr
[
i
].
video_url
||
''
);
}
}
initImg
()
{
...
...
@@ -607,6 +618,13 @@ export class PlayComponent implements OnInit, OnDestroy {
}
const
choiceQuesArr
=
this
.
data
.
contentObj
.
choiceQuesArr
;
for
(
let
i
=
0
;
i
<
choiceQuesArr
.
length
;
i
++
)
{
addPicUrl
(
choiceQuesArr
[
i
].
title_pic_url
||
''
);
addPicUrl
(
choiceQuesArr
[
i
].
ques_pic_url
||
''
);
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment