cocoscreator3D发布头条小游戏提示cant find variable global

在微信上是可以运行的,但是在头条上报错

[TMA][ERROR][RUNTIME] thirdScriptError
Can’t find variable: global
src/system.bundle.js:2:359
src/system.bundle.js:2:10005
src/system.bundle.js:2:11069
Qe@file:///var/mobile/Containers/Data/Application/5E141603-B5D6-42AF-8D2A-C67CF7B8C5AE/Library/tma/app/dev/tmg-core.js:1:21664
game.js:5:8
Qe@file:///var/mobile/Containers/Data/Application/5E141603-B5D6-42AF-8D2A-C67CF7B8C5AE/Library/tma/app/dev/tmg-core.js:1:21664
Ye@file:///var/mobile/Containers/Data/Application/5E141603-B5D6-42AF-8D2A-C67CF7B8C5AE/Library/tma/app/dev/tmg-core.js:1:20801
global code@game.js:16:15
anonymous@[native code]
global code@game.js:1:59 +0ms

这个是咋回事呢?

多谢,多谢