Commit 5f302134 authored by limingzhe's avatar limingzhe

fix: debug

parent d01419a9
......@@ -7918,9 +7918,7 @@ cc.Class({
this.isGameEnd = true;
onHomeworkFinish();
if (this.isShowScore) {
showSRResultByRecord();
}
showSRResultByRecord(this.isShowScore);
// this.showMask();
......
......@@ -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();
}
......
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