您好,我用的是
requestAnimationFrame(animate2);
a++
在canvas里一帧一帧刷的啊,IDE模拟器好好的,在手机上就不行了?
谢谢各位大神 指教
真机上报错 :
thirdScriptError
requestAnimationFrame is not defined;at pages/game/index page lifeCycleMethod onLoad function
ReferenceError: requestAnimationFrame is not defined