Showing
1 changed file
with
1 additions
and
1 deletions
@@ -33,7 +33,7 @@ module.exports = class extends global.yoho.BaseModel { | @@ -33,7 +33,7 @@ module.exports = class extends global.yoho.BaseModel { | ||
33 | }); | 33 | }); |
34 | 34 | ||
35 | _.map(list, function(item, key) { | 35 | _.map(list, function(item, key) { |
36 | - item.focus = key === channel; | 36 | + _.set(item, 'focus', key === channel); |
37 | 37 | ||
38 | _.map(item, function(firstItem) { | 38 | _.map(item, function(firstItem) { |
39 | // 如果有二级菜单,二级菜单跳转,否则一级菜单跳转 | 39 | // 如果有二级菜单,二级菜单跳转,否则一级菜单跳转 |
-
Please register or login to post a comment