Commit 6c886a0d authored by 李纪文's avatar 李纪文

fix: 修改mqtt连接配置

parent b18a298d
......@@ -5,7 +5,7 @@
"author": "lijiwen <961370825@qq.com>",
"homepage": "",
"license": "ISC",
"main": "lib/MqttView.js",
"main": "lib/index.js",
"directories": {
"lib": "lib",
"test": "__tests__"
......
......@@ -47,7 +47,6 @@ class MqttView {
};
//注册连接断开处理事件
this.saveWaClient.onConnectionLost = this.onSaveWaConnectionLost.bind(this);
//注册消息接收处理事件
this.saveWaClient.onMessageArrived = this.onSaveWaMessageArrived.bind(this);
this.saveWaClient.connect(this.saveWaOptions);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment