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
c067e0bd
Commit
c067e0bd
authored
Mar 13, 2022
by
章红平
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提示信息
parent
0f405c38
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
cake_class_1.ts
assets/cake_class_1/scene/cake_class_1.ts
+2
-2
No files found.
assets/cake_class_1/scene/cake_class_1.ts
View file @
c067e0bd
...
...
@@ -143,7 +143,7 @@ export default class cake_class_1 extends MyCocosSceneComponent {
}
startTalking
()
{
console
.
log
(
"
startText:
"
,
this
.
data
.
questions
[
this
.
questionIndex
].
text
)
if
((
<
any
>
window
).
courseware
)
{
if
((
<
any
>
window
).
courseware
&&
(
<
any
>
window
).
courseware
.
stopTest
)
{
(
<
any
>
window
).
courseware
.
startTest
(
this
.
data
.
questions
[
this
.
questionIndex
].
text
);
}
this
.
talking
=
true
;
...
...
@@ -157,7 +157,7 @@ export default class cake_class_1 extends MyCocosSceneComponent {
this
.
initRedBtn
();
this
.
moveOutCandle2
();
this
.
nowPanel
.
showBlock
();
if
((
<
any
>
window
).
courseware
)
{
if
((
<
any
>
window
).
courseware
&&
(
<
any
>
window
).
courseware
.
stopTest
)
{
(
<
any
>
window
).
courseware
.
stopTest
((
res
)
=>
{
res
=
JSON
.
parse
(
res
)
console
.
log
(
"
res=========
"
,
res
.
scores
,
res
.
result
)
...
...
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