收藏
回答

PC小游戏运行js出错报eval is not defined?

通过分包加载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)

回答关注问题邀请回答
收藏

1 个回答

  • .26
    .26
    2023-09-18

    把这玩意干掉解决了

    2023-09-18
    有用
    回复
登录 后发表内容
问题标签