Commit 965ae167 authored by liujiangnan's avatar liujiangnan

debug: 记得回滚

parent d6fd2d49
...@@ -329,7 +329,6 @@ export default class SceneComponent extends MyCocosSceneComponent { ...@@ -329,7 +329,6 @@ export default class SceneComponent extends MyCocosSceneComponent {
// Canvas/bg/bg_oxford // Canvas/bg/bg_oxford
const bk = cc.find(`Canvas/bg/bg_oxford`); const bk = cc.find(`Canvas/bg/bg_oxford`);
bk.on('click', () => { bk.on('click', () => {
jumpToBundle('NJ_You');
const bk_count = bk["bk_count"]; const bk_count = bk["bk_count"];
if (!bk_count) { if (!bk_count) {
bk.attr({bk_count: 1}); bk.attr({bk_count: 1});
...@@ -362,4 +361,10 @@ export default class SceneComponent extends MyCocosSceneComponent { ...@@ -362,4 +361,10 @@ export default class SceneComponent extends MyCocosSceneComponent {
web_container.active = false; web_container.active = false;
} }
onDestroy() {
setTimeout(() => {
cc.find(`Canvas/bg/webContainer`).active = false;
}, 5000);
}
} }
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