摘要: 原来使用的mqttjs版本为4.3.7,连接一直报错,closeSocket:fail task not found。 降低 mqtt.js 版本使用4.1.0。 引入mqtt的方式使用import mqtt from 'mqtt/dist/mqtt.js'!!! 使用const mqtt = re 阅读全文
posted @ 2023-05-19 16:25 HelloWord_wuxuemin 阅读(194) 评论(0) 推荐(0) 编辑