Commit 5fe12075 authored by liujiangnan's avatar liujiangnan

feat

parent 0352231d
......@@ -9,13 +9,17 @@ export default class SceneComponent extends MyCocosSceneComponent {
// this._imageResList.push({ url: this.data.pic_url });
}
orgId = 507;
async onLoadEnd() {
const middleLayer = cc.find('middleLayer');
if (middleLayer) {
this.orgId = middleLayer.getComponent('middleLayer').ORG_ID;
}
await this.initData();
await this.initView();
this.initListener();
}
orgId = 507;
classData: any;
async initData() {
const middleLayer = cc.find('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