Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
DoorLock
Overview
Overview
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
朱建香
DoorLock
Commits
b4129f27
Commit
b4129f27
authored
Oct 24, 2017
by
朱建香
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1024
parent
8138897c
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
dev/src/view/addDevice/v_wifiAdd.js
+1
-1
web/view/addDevice/wifiAdd.js
+1
-1
No files found.
dev/src/view/addDevice/v_wifiAdd.js
View file @
b4129f27
...
@@ -205,7 +205,7 @@ function connectButtonTap(self){
...
@@ -205,7 +205,7 @@ function connectButtonTap(self){
deviceId
=
parameters
.
sn
;
deviceId
=
parameters
.
sn
;
}
}
let
productId
=
config
.
mode
.
substr
(
config
.
mode_type
.
length
,
6
);
let
productId
=
config
.
mode
.
substr
(
config
.
mode_type
.
length
,
6
);
if
(
response
.
data
==
"joined success"
&&
response
.
info
!=
{}
){
if
(
response
.
data
==
"joined success"
){
//云端绑定
//云端绑定
// unBind(self, deviceId, productId);
// unBind(self, deviceId, productId);
bind
(
self
,
deviceId
,
productId
);
bind
(
self
,
deviceId
,
productId
);
...
...
web/view/addDevice/wifiAdd.js
View file @
b4129f27
...
@@ -221,7 +221,7 @@ function connectButtonTap(self) {
...
@@ -221,7 +221,7 @@ function connectButtonTap(self) {
deviceId
=
parameters
.
sn
;
deviceId
=
parameters
.
sn
;
}
}
var
productId
=
_config2
.
default
.
mode
.
substr
(
_config2
.
default
.
mode_type
.
length
,
6
);
var
productId
=
_config2
.
default
.
mode
.
substr
(
_config2
.
default
.
mode_type
.
length
,
6
);
if
(
response
.
data
==
"joined success"
&&
response
.
info
!=
{}
)
{
if
(
response
.
data
==
"joined success"
)
{
//云端绑定
//云端绑定
// unBind(self, deviceId, productId);
// unBind(self, deviceId, productId);
bind
(
self
,
deviceId
,
productId
);
bind
(
self
,
deviceId
,
productId
);
...
...
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