You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
用socket.io-client 4.6.1打包,在微信小程序中使用,出现eval之类的错误。
TypeError: Cannot read property 'bind' of undefined
at a (weapp.socket.io4.6.1.wx.js:1)
at new q (weapp.socket.io4.6.1.wx.js:10)
at V (weapp.socket.io4.6.1.wx.js:10)
at Object.initSocketClient (initSocket.js:68)
at eval (app.js? [sm]:301)
at H (eval at n.call.document (runtime.js?devtools_ignore=true:1), :2:68639)
at eval (eval at n.call.document (runtime.js?devtools_ignore=true:1), :2:68861)
at C (eval at n.call.document (runtime.js?devtools_ignore=true:1), :2:38338)
The text was updated successfully, but these errors were encountered:
用socket.io-client 4.6.1打包,在微信小程序中使用,出现eval之类的错误。
TypeError: Cannot read property 'bind' of undefined
at a (weapp.socket.io4.6.1.wx.js:1)
at new q (weapp.socket.io4.6.1.wx.js:10)
at V (weapp.socket.io4.6.1.wx.js:10)
at Object.initSocketClient (initSocket.js:68)
at eval (app.js? [sm]:301)
at H (eval at n.call.document (runtime.js?devtools_ignore=true:1), :2:68639)
at eval (eval at n.call.document (runtime.js?devtools_ignore=true:1), :2:68861)
at C (eval at n.call.document (runtime.js?devtools_ignore=true:1), :2:38338)
The text was updated successfully, but these errors were encountered: