Commit 005a32db authored by liujiangnan's avatar liujiangnan

feat: 调试模式

parent f89a7df2
......@@ -70,6 +70,10 @@ cc.Class({
console.log('this.data:', this.data);
this.data = JSON.parse(JSON.stringify(this.data))
const isDebug = cc.sys.localStorage.getItem('isDebug');
this.data.isDebug = this.data.isDebug || isDebug;
this.preloadItem()
})
},
......
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