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

fix: 修改mqtt连接配置

parent b18a298d
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
"author": "lijiwen <961370825@qq.com>", "author": "lijiwen <961370825@qq.com>",
"homepage": "", "homepage": "",
"license": "ISC", "license": "ISC",
"main": "lib/MqttView.js", "main": "lib/index.js",
"directories": { "directories": {
"lib": "lib", "lib": "lib",
"test": "__tests__" "test": "__tests__"
......
...@@ -47,7 +47,6 @@ class MqttView { ...@@ -47,7 +47,6 @@ class MqttView {
}; };
//注册连接断开处理事件 //注册连接断开处理事件
this.saveWaClient.onConnectionLost = this.onSaveWaConnectionLost.bind(this); this.saveWaClient.onConnectionLost = this.onSaveWaConnectionLost.bind(this);
//注册消息接收处理事件 //注册消息接收处理事件
this.saveWaClient.onMessageArrived = this.onSaveWaMessageArrived.bind(this); this.saveWaClient.onMessageArrived = this.onSaveWaMessageArrived.bind(this);
this.saveWaClient.connect(this.saveWaOptions); 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