收藏
回答

为什么在小程序上能正常接收到数据,多端应用模式下也可以接受数据,但是在生成APP手机下载之后看不到?

也报了下面的错误 WASubContext.js:1:440154

Cannot read properties of undefined (reading 'onOpen')

TypeError: Cannot read properties of undefined (reading 'onOpen')

at onOpen (utils/mqtt.js:1944:16)

at protocol (utils/mqtt.js:2371:29)

at streamBuilder (utils/mqtt.js:299:24)

at _setupStream (utils/mqtt.js:278:10)

at Function.l [as connect] (utils/mqtt.js:2373:18)

at connect (pages/index/index.js:136:29)

    at fi.<anonymous> (WASubContext.js:1:466325)

    at s.__callPageLifeTime__ (WASubContext.js:1:466118)

    at WASubContext.js:1:477834

    at WASubContext.js:1:440154

回答关注问题邀请回答
收藏
登录 后发表内容