Commit 31a9c887 authored by liujiangnan's avatar liujiangnan

debug

parent b2554be0
......@@ -77,7 +77,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
}
checkPage() {
if(!window["courseware"]){
if(!window["courseware"]||cc.sys.isBrowser){
// 没有中间层的话,直接判断为检测成功
return true;
}
......@@ -108,7 +108,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
}
checkPart() {
if(!window["courseware"]){
if(!window["courseware"]||cc.sys.isBrowser){
// 没有中间层的话,直接判断为检测成功
return true;
}
......
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