lrf402788946 пре 5 година
родитељ
комит
4f636e8891
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      src/store/news.js

+ 1 - 1
src/store/news.js

@@ -18,8 +18,8 @@ export const actions = {
       for (const item of payload) {
         let data = {
           skip: 0,
-          limit: 8,
         };
+        if (item.parent != '图片新闻') data.limit = 8;
         if (item.type === 'bugList') {
           data.news_type = `0`;
           data.parent_id = item.content_id;