Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
JJ21
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
JJ21
Commits
5f302134
Commit
5f302134
authored
Jul 29, 2025
by
limingzhe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: debug
parent
d01419a9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
6 deletions
+4
-6
JJ21.js
assets/JJ21/scene/JJ21.js
+1
-3
JJ21_util.js
assets/JJ21/script/JJ21_util.js
+3
-3
No files found.
assets/JJ21/scene/JJ21.js
View file @
5f302134
...
...
@@ -7918,9 +7918,7 @@ cc.Class({
this
.
isGameEnd
=
true
;
onHomeworkFinish
();
if
(
this
.
isShowScore
)
{
showSRResultByRecord
();
}
showSRResultByRecord
(
this
.
isShowScore
);
// this.showMask();
...
...
assets/JJ21/script/JJ21_util.js
View file @
5f302134
...
...
@@ -410,7 +410,7 @@ export function addSRAudioDuration( value) {
}
}
export
function
showSRResultByRecord
()
{
export
function
showSRResultByRecord
(
isShowScore
)
{
const
middleLayer
=
cc
.
find
(
'
middleLayer
'
);
if
(
middleLayer
)
{
const
middleLayerComponent
=
middleLayer
.
getComponent
(
'
middleLayer
'
);
...
...
@@ -442,10 +442,10 @@ export function setQuestionResult(index, score) {
}
export
function
showSRResultByQuestion
()
{
export
function
showSRResultByQuestion
(
isShowScore
)
{
const
middleLayer
=
cc
.
find
(
'
middleLayer
'
);
if
(
middleLayer
)
{
middleLayer
.
getComponent
(
'
middleLayer
'
).
showSRResultByQuestion
();
middleLayer
.
getComponent
(
'
middleLayer
'
).
showSRResultByQuestion
(
isShowScore
);
}
else
{
console
.
log
();
}
...
...
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