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;