Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wisdom-components
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ReactWeb5
wisdom-components
Commits
6c886a0d
Commit
6c886a0d
authored
Apr 26, 2021
by
李纪文
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修改mqtt连接配置
parent
b18a298d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
2 deletions
+1
-2
package.json
packages/MqttView/package.json
+1
-1
index.js
packages/MqttView/src/index.js
+0
-1
No files found.
packages/MqttView/package.json
View file @
6c886a0d
...
...
@@ -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__"
...
...
packages/MqttView/src/index.js
View file @
6c886a0d
...
...
@@ -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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment