flutterchina/flutter-in-action

TypeError: e.querySelectorAll is not a function

18334581089 opened this issue · 0 comments

解析prism.js文件出现了问题,
找了2小时,还是没解决(还是基础不牢固啊)

报错是

  1. 在进入小程序时报错
  2. 貌似不影响md展示

控制台完整报错

TypeError: e.querySelectorAll is not a function
    at Object.highlightAllUnder (prism.js:3)
    at Object.highlightAll (prism.js:3)
    at n (prism.js:3)
    at Function.<anonymous> (raf.ts:30)
    at :37165/appservice/<setTimeout callback function>
    at VM3189 WAService.js:2
    at VM3189 WAService.js:2

(flutter2,不知道是不是因为这个)
卑微前端在线求助