wx.getAccountInfoSync()这个API很多插件都会用到,会在PC端微信打开报错?
‘’customVersion' of undefined? 手机打开那个版本都没问题 pc打开哪个版本都报错会导致页面不加载白屏无法使用。很多人提过类似问题,一直没有好的办法解决,希望能注意一下这个点。
app-service.js: TypeError: Cannot read property 'customVersion' of undefined
at i.getAccountInfoSync (file://5.js)
at i.function.i.(anonymous function) [as getAccountInfoSync] (file://5.js)
at Object.getCurAppid (file://6.js)
at Object.<anonymous> (file://6.js)
at n (file://6.js)
at Object.6 (file://6.js)
at n (file://6.js)
at Object.114 (file://6.js)
at n (file://6.js)
at Object.39 (file://6.js)