1.头部code!=200返回回空数据,2.hbs中action加一层brands防止命名冲突
Showing
1 changed file
with
1 additions
and
0 deletions
@@ -93,6 +93,7 @@ const getBrandViewTop = channel => { | @@ -93,6 +93,7 @@ const getBrandViewTop = channel => { | ||
93 | if (res.code !== 200) { | 93 | if (res.code !== 200) { |
94 | return result; | 94 | return result; |
95 | } | 95 | } |
96 | + | ||
96 | // 头部10个品牌小图块 url | 97 | // 头部10个品牌小图块 url |
97 | if (res.data[1].data && res.data[1].data.list) { | 98 | if (res.data[1].data && res.data[1].data.list) { |
98 | _.forEach(res.data[1].data.list, subValue => { | 99 | _.forEach(res.data[1].data.list, subValue => { |
-
Please register or login to post a comment