Commit 5e336aa2 by wjd

Merge branch 'zjx' into 'test/96'

2018/01/11 16:26

See merge request iot-project-js/doorlock!14
parents e84390ee 37ec32c1
...@@ -559,7 +559,7 @@ function getLockInfoSuccess(self, data){ ...@@ -559,7 +559,7 @@ function getLockInfoSuccess(self, data){
function getTreenRecord(self, record){ function getTreenRecord(self, record){
if(record && record.length){ if(record && record.length){
self.newMsg = []; self.newMsg = [];
for(let i=0; i< record.length; i++){ for(let i = record.length - 1; i >= 0; i--){
let msg = ''; let msg = '';
if(record[i].nickname == null){ if(record[i].nickname == null){
msg = ' ID:' + record[i].openId; msg = ' ID:' + record[i].openId;
......
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