Commit 0507659a authored by Li MingZhe's avatar Li MingZhe

fix: active报错

parent 5a5c8090
No preview for this file type
{
"ver": "1.2.7",
"ver": "1.2.9",
"uuid": "5e0a03aa-9b9e-4076-b508-7dbf209bb115",
"asyncLoadAssets": false,
"autoReleaseAssets": true,
......
......@@ -1557,8 +1557,11 @@ cc.Class({
console.log(' hidelayer ');
this.hideLayerLayer(this.wordLayer);
this.fruitPanelSpeakBtn.active = false
this.fruitPanelSpeakBtn.isClicked = true
if (this.fruitPanelSpeakBtn) {
this.fruitPanelSpeakBtn.active = false
this.fruitPanelSpeakBtn.isClicked = true
}
},
hideLayerLayer(layer) {
......@@ -1590,8 +1593,11 @@ cc.Class({
this.hideLayerLayer(this.sentenceLayer);
this.sentencePanelSpeakBtn.active = false
this.sentencePanelSpeakBtn.isClicked = true
if (this.sentencePanelSpeakBtn) {
this.sentencePanelSpeakBtn.active = false
this.sentencePanelSpeakBtn.isClicked = true
}
},
......@@ -2310,7 +2316,7 @@ cc.Class({
},
showGoodJob() {
let resName;
let resName = '';
switch(this.treeType) {
case this.treeTypeArr[0]:
resName = "good_job/bg_goodjob_1";
......@@ -2318,9 +2324,12 @@ cc.Class({
case this.treeTypeArr[1]:
resName = "good_job/bg_goodjob_2";
break;
case this.treeTypeArr[2]:
resName = "good_job/bg_goodjob_3";
break;
// case this.treeTypeArr[2]:
// resName = "good_job/bg_goodjob_3";
// break;
default:
resName = "good_job/bg_goodjob_3";
break;
}
const goodJobLayer = this.goodJobLayer;
......
{
"ver": "1.2.0",
"ver": "1.2.1",
"uuid": "9c8045e8-d0e3-4eb1-b35d-ca0ffac13c43",
"maxWidth": 1024,
"maxHeight": 1024,
......
{
"ver": "1.2.0",
"ver": "1.2.1",
"uuid": "7afec9b4-db9a-4d21-b1c0-8e8d3879065c",
"maxWidth": 1024,
"maxHeight": 1024,
......
{
"ver": "1.2.0",
"ver": "1.2.1",
"uuid": "b3ec03a6-1327-4885-85b6-8422418d1046",
"maxWidth": 1024,
"maxHeight": 1024,
......
No preview for this file type
{"ios":{"sceneName":"aks_03","version":"c39ad"},"android":{"sceneName":"aks_03","version":"c39ad"}}
\ No newline at end of file
{"ios":{"sceneName":"aks_03","version":"54f42"},"android":{"sceneName":"aks_03","version":"54f42"}}
\ No newline at end of file
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