Commit fdf8a840 by 朱建香

1120

parent 4c01643a
...@@ -28,7 +28,7 @@ function init() { ...@@ -28,7 +28,7 @@ function init() {
doorlock: null, doorlock: null,
//提示框显示文字 //提示框显示文字
showMsg: '', showMsg: '',
textNickname: null, textNickname: iot.navigator.getExtras().lockInfo.device_name,
extras: {}, extras: {},
unbindSucceess: false, unbindSucceess: false,
//门铃消息推送 //门铃消息推送
...@@ -51,7 +51,7 @@ function init() { ...@@ -51,7 +51,7 @@ function init() {
let self = this; let self = this;
window.addEventListener('returnPage',function(event){ window.addEventListener('returnPage',function(event){
console.log("returnPage"); console.log("returnPage");
// getDoorlockInfo(self); getDoorlockInfo(self);
}); });
}, },
......
...@@ -41,7 +41,7 @@ function init() { ...@@ -41,7 +41,7 @@ function init() {
doorlock: null, doorlock: null,
//提示框显示文字 //提示框显示文字
showMsg: '', showMsg: '',
textNickname: null, textNickname: _public.iot.navigator.getExtras().lockInfo.device_name,
extras: {}, extras: {},
unbindSucceess: false, unbindSucceess: false,
//门铃消息推送 //门铃消息推送
...@@ -64,7 +64,7 @@ function init() { ...@@ -64,7 +64,7 @@ function init() {
var self = this; var self = this;
window.addEventListener('returnPage', function (event) { window.addEventListener('returnPage', function (event) {
console.log("returnPage"); console.log("returnPage");
// getDoorlockInfo(self); getDoorlockInfo(self);
}); });
}, },
......
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