二呆 发表于 2018-11-20 22:47:08

wxParse使用中报错console.dir is not a function

在开发小程序时使用wxParse的话,有时会发现模拟器没问题,但在手机显示时,会报一个thirdScriptError console.dir is not a function错误,解决办法如下:
把wxParse插件下的html2json.js里的console.dir注释掉或者替换成console.log即可。
页: [1]
查看完整版本: wxParse使用中报错console.dir is not a function