Commit c19c6119 authored by huoshizhe's avatar huoshizhe

feat:

parent 060cdbae
...@@ -7,7 +7,7 @@ cc.Class({ ...@@ -7,7 +7,7 @@ cc.Class({
if (scene.name == 'PS_000') { if (scene.name == 'PS_000') {
if (!this.saveData) { if (!this.saveData) {
this.saveData = { step: 0 }; this.saveData = { step: 0 };
} }
callBack(this.saveData); callBack(this.saveData);
} else { } else {
console.log('汪汪汪_3') console.log('汪汪汪_3')
...@@ -343,6 +343,10 @@ cc.Class({ ...@@ -343,6 +343,10 @@ cc.Class({
}, },
log(str) {
console.log(str);
},
showLog(str) { showLog(str) {
if (!this.logList) { if (!this.logList) {
this.logList = []; this.logList = [];
......
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