Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cake_class_1
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
cake_class_1
Commits
d0ae5652
Commit
d0ae5652
authored
Mar 13, 2022
by
章红平
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提示信息
parent
595be320
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
cake_class_1.ts
assets/cake_class_1/scene/cake_class_1.ts
+1
-2
No files found.
assets/cake_class_1/scene/cake_class_1.ts
View file @
d0ae5652
...
@@ -174,10 +174,9 @@ export default class cake_class_1 extends MyCocosSceneComponent {
...
@@ -174,10 +174,9 @@ export default class cake_class_1 extends MyCocosSceneComponent {
(
<
any
>
window
).
courseware
.
stopTest
((
res
)
=>
{
(
<
any
>
window
).
courseware
.
stopTest
((
res
)
=>
{
if
(
!
timeOut
){
if
(
!
timeOut
){
clearTimeout
(
stopTestOut
);
clearTimeout
(
stopTestOut
);
res
=
JSON
.
parse
(
res
)
res
=
JSON
.
parse
(
res
)
console
.
log
(
"
res=========
"
,
res
.
scores
,
res
.
result
)
console
.
log
(
"
res=========
"
,
res
.
scores
,
res
.
result
)
if
(
res
.
result
.
overall
>=
80
)
{
if
(
res
.
result
&&
res
.
result
.
overall
>=
80
)
{
console
.
log
(
"
语音测评成功
"
)
console
.
log
(
"
语音测评成功
"
)
this
.
answerList
[
this
.
questionIndex
]
=
1
this
.
answerList
[
this
.
questionIndex
]
=
1
this
.
stickers
.
changOneSticker
(
this
.
questionIndex
,
true
)
this
.
stickers
.
changOneSticker
(
this
.
questionIndex
,
true
)
...
...
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