Commit 37ec32c1 by 朱建香

2018/01/11 16:26

#11首页三条记录顺序优化【已完成】
parent c15aa5e7
...@@ -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