Commit 2e95503b authored by liujiangnan's avatar liujiangnan

feat

parent 2427e59c
This diff is collapsed.
......@@ -118,7 +118,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
// 打开文件夹
this.pushRouter(row);
showLoading();
await this.loadData(row.id);
this.rows = await this.loadData(row.id);
await this.drawPage();
cc.find(`Canvas/lefttop/bg_title/title`).getComponent(cc.Label).string = row.name;
cc.find(`Canvas/lefttop`).active = true;
......@@ -140,11 +140,11 @@ export default class SceneComponent extends MyCocosSceneComponent {
}
initListener() {
const back = cc.find(`Canvas/back`);
const back = cc.find(`Canvas/lefttop/back`);
buttonOnClick(back, async () => {
showLoading();
const item = this.popRouter();
await this.loadData(item.pid);
this.rows = await this.loadData(item.pid);
await this.drawPage();
hideLoading();
......
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