Commit 27bc0877 authored by limingzhe's avatar limingzhe

fix: debug

parent 9b218497
No preview for this file type
......@@ -35,6 +35,10 @@ export default class SceneComponent extends MyCocosSceneComponent {
}
onLoadEnd() {
// TODO 加载完成后的逻辑写在这里, 下面的代码仅供参考
console.log("onLoadEnd ...");
return;
this.initData();
this.initView();
this.initEvent();
......@@ -93,6 +97,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
private page: number;
initData() {
this.log(`initData:${JSON.stringify(this.data)}`)
this.autoPlay = 0;
this.page = 0;
......
......@@ -7,8 +7,8 @@
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 244,
"height": 174,
"width": 139,
"height": 97,
"platformSettings": {},
"subMetas": {
"btn_return": {
......
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