Commit b1a85d87 authored by 范雪寒's avatar 范雪寒

feat: throw-> console.error

parent 72b52381
...@@ -183,7 +183,7 @@ export function initAir(_this) { ...@@ -183,7 +183,7 @@ export function initAir(_this) {
} else if (cc.sys.isNative && cc.sys.os == cc.sys.OS_WINDOWS) { } else if (cc.sys.isNative && cc.sys.os == cc.sys.OS_WINDOWS) {
console.log('汪汪汪') console.log('汪汪汪')
} else { } else {
throw ('非源生环境'); console.error('非源生环境');
} }
}, },
freeAllOcMethod () { freeAllOcMethod () {
......
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