Commit 9c30033e authored by liujiangnan's avatar liujiangnan

feat:

parent 2f23328a
......@@ -768,7 +768,7 @@ export default class NewClass extends middleLayerBase {
bondleUrl = `${templateBaseUrl}/web_desktop`;
}
this.loadBundle(sceneName, version, bondleUrl, () => {
cc.find('middleLayer/ram').active = (bundleName == 'NJ_YouLeChang' && this.type == 'aixuebao');
cc.find('middleLayer/ram').active = bundleName == 'NJ_YouLeChang';
cc.find('middleLayer/cross').active = (bundleName == 'NJ_YouLeChang'&&this.gameModel=='cross');
cc.find('middleLayer/free').active = (bundleName == 'NJ_YouLeChang'&&this.gameModel=='free');
callback&&callback();
......
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