之前110运行的一直没问题,今天刚下了210 打开之前的工程一运行
Simulator: E/jswrapper (271): ERROR: Uncaught TypeError: info.cb.apply is not a function, location: jsb-adapter/jsb-builtin.js:0:0
Simulator: E/jswrapper (521): [ERROR] (…\cocos\scripting\js-bindings\jswrapper\v8\Object.cpp, 521): Invoking function (0DC2BAA8) failed!
Simulator: E/jswrapper (271): ERROR: Uncaught TypeError: info.cb.apply is not a function, location: jsb-adapter/jsb-builtin.js:0:0
Simulator: E/jswrapper (521): [ERROR] (…\cocos\scripting\js-bindings\jswrapper\v8\Object.cpp, 521): Invoking function (0DC2BAA8) failed!
Simulator: E/jswrapper (271): ERROR: Uncaught TypeError: info.cb.apply is not a function, location: jsb-adapter/jsb-builtin.js:0:0
。。。。。
循环显示这种错误
然后一头雾水,到底是哪里的问题,找了半天 才发现是setInterval这里出了问题,模拟器有问题,但是浏览器居然可以运行, 我又哪里埰坑了吗?