Commit 0daa86cd authored by 范雪寒's avatar 范雪寒

feat:

parent 6e4350f3
...@@ -2405,7 +2405,7 @@ ...@@ -2405,7 +2405,7 @@
"__id__": 74 "__id__": 74
} }
], ],
"_active": true, "_active": false,
"_components": [ "_components": [
{ {
"__id__": 78 "__id__": 78
......
...@@ -138,5 +138,10 @@ export default class SceneComponent extends MyCocosSceneComponent { ...@@ -138,5 +138,10 @@ export default class SceneComponent extends MyCocosSceneComponent {
jumpToBundle('NJ_login'); jumpToBundle('NJ_login');
}); });
}); });
const btnClose = cc.find('Canvas/userInfo/btnClose');
buttonOnClick(btnClose, () => {
cc.find('Canvas/userInfo').active = false;
});
} }
} }
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