通过分包加载js后运行出错,报错如下,代码中确定无eval使用,android ios 模拟器小游戏都ok
VM144:1
MiniProgramError
eval is not defined
ReferenceError: eval is not defined
at Object.40210 (eval at globalThis.__adapterCommand (frame.js:1:2244), <anonymous>:156:75613)
at o (eval at globalThis.__adapterCommand (frame.js:1:2244), <anonymous>:33:2119)
at Object.21924 (eval at globalThis.__adapterCommand (frame.js:1:2244), <anonymous>:3:36536)
at o (eval at globalThis.__adapterCommand (frame.js:1:2244), <anonymous>:33:2119)
at Object.82584 (eval at globalThis.__adapterCommand (frame.js:1:2244), <anonymous>:12:2121)
at o (eval at globalThis.__adapterCommand (frame.js:1:2244), <anonymous>:33:2119)
at Object.55955 (eval at globalThis.__adapterCommand (frame.js:1:2244), <anonymous>:159:68377)
at o (eval at globalThis.__adapterCommand (frame.js:1:2244), <anonymous>:33:2119)
at Object.89539 (eval at globalThis.__adapterCommand (frame.js:1:2244), <anonymous>:159:77382)
at o (eval at globalThis.__adapterCommand (frame.js:1:2244), <anonymous>:33:2119)
把这玩意干掉解决了