微信小程序后台提示wx.createUDPSocket is not a function?
同样的代码,采用udpsocket,模拟器上没有任何报错,但是发布之后,小程序后天提示
TypeError: wx.createUDPSocket is not a function
TypeError: wx.createUDPSocket is not a function
at https://miniprogram:///pages/index/index.js:4:16
at require (https://lib/WASubContext.js:1:1014438)