Browse Source

修改查询参数

asd123a20 1 year ago
parent
commit
5ff0c4d5ef
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/views/Home.vue

+ 2 - 2
src/views/Home.vue

@@ -14,7 +14,7 @@
     </el-carousel>
     <div class="listBox">
       <banner class="lists"></banner>
-      <threeList parentCode="02" class="listItem" :imgUrl="newsImgUrl" :data="news" :isImg="false" title="社科要闻" code="02"></threeList>
+      <threeList parentCode="02" class="listItem" :imgUrl="newsImgUrl" :data="news" :isImg="false" title="社科要闻" code="skxw"></threeList>
       <threeList parentCode="10" :imgUrl="threeImggg" :data="threeDatagg" :isImg="false" title="通知公告" code="101"></threeList>
     </div>
     <div class="listBox">
@@ -117,7 +117,7 @@ export default {
     // 智库基金
     await this.btnClick({ name: '051', type: 'builds', limit: 6 });
     // 社科要闻
-    await this.btnClick({ name: '02', type: 'news', limit: 6 });
+    await this.btnClick({ name: '02', type: 'news', limit: 6, parentCode: true });
     // 成果发布
     await this.btnClick({ name: '07', type: 'threeData', limit: 5, parentCode: true });
     // 政策法规