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) {
       for (const item of payload) {
         let data = {
         let data = {
           skip: 0,
           skip: 0,
-          limit: 8,
         };
         };
+        if (item.parent != '图片新闻') data.limit = 8;
         if (item.type === 'bugList') {
         if (item.type === 'bugList') {
           data.news_type = `0`;
           data.news_type = `0`;
           data.parent_id = item.content_id;
           data.parent_id = item.content_id;