Showing
1 changed file
with
2 additions
and
2 deletions
@@ -13,8 +13,8 @@ const QUESTION_CODE = '1337a9f26f3972060bb2a2ca3aba81fd'; | @@ -13,8 +13,8 @@ const QUESTION_CODE = '1337a9f26f3972060bb2a2ca3aba81fd'; | ||
13 | const suggestFeedBack = () => { | 13 | const suggestFeedBack = () => { |
14 | return api.getResource(QUESTION_CODE).then(result => { | 14 | return api.getResource(QUESTION_CODE).then(result => { |
15 | if (result.code === 200) { | 15 | if (result.code === 200) { |
16 | - let data = _.dropWhile(_.get(result, 'data.list', []), o => { | ||
17 | - return +o.template_id !== 6362; // 取一张图资源位 | 16 | + let data = _.dropWhile(_.get(result, 'data', []), o => { |
17 | + return o.template_name !== 'single_image'; // 取一张图资源位 | ||
18 | }); | 18 | }); |
19 | let list = []; | 19 | let list = []; |
20 | 20 |
-
Please register or login to post a comment