Commit 94c6aa79 authored by huoshizhe's avatar huoshizhe

feat:

parent 1b865310
......@@ -227,6 +227,7 @@ cc.Class({
if (this.data.length == 1) {
this.leftNode.active = false
this.rightNode.active = false
onHomeworkFinish();
} else {
this.leftNode.active = false
this.rightNode.active = true
......
......@@ -342,6 +342,7 @@ export function showTrebleFirework(baseNode, rabbonList) {
}
export function onHomeworkFinish() {
console.log('onHomeworkFinish');
const middleLayer = cc.find('middleLayer');
if (middleLayer) {
const middleLayerComponent = middleLayer.getComponent('middleLayer');
......
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