uniapp连接mqtt实现im功能,因为本身业务需求,决定使用手动重连,在设置reconnectPeriod:0取消自动重连后,掉线或被挤下线后任何回调都不走,断网后JS Framework报错,mqtt版本3.0.0,运行环境Android真机,模拟器

1***@qq.com
- 发布:2022-09-15 09:56
- 更新:2023-05-15 11:02
- 阅读:502
mqtt自定义重连后,掉线或被挤下线没有任何回调
分类:uni-app


Diligent_UI - 【插件开发】【专治疑难杂症】【多款插件已上架:https://ext.dcloud.net.cn/publisher?id=193663(微信搜索飘逸科技UI小程序直接体验)】【骗子请绕道】问题咨询请加QQ群:120594820,代表作灵感实用工具小程序
这不像是mqtt的问题,重启试试看是不是编译问题