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;