瀏覽代碼

fix:修复了交流的bug

DingXiaoYu 3 年之前
父節點
當前提交
281d4f4a35
共有 1 個文件被更改,包括 2 次插入 和 2 次删除
  1. 2 2
      src/views/CommunicationPage/ExplorePage.vue

+ 2 - 2
src/views/CommunicationPage/ExplorePage.vue

@@ -59,7 +59,7 @@ export default {
   components: {ExploreItem},
   data() {
     return {
-      page: 1,
+      page: 0,
       size: 5,
       total: 0,
       // explore-selector
@@ -88,7 +88,7 @@ export default {
       };
       this.$apis.getAllCommunications(payload).then(res=>{
         console.log(res.data);
-        this.communicationList = res.data.data;
+        this.communicationList = res.data.data.content;
         this.total = this.communicationList.length;
       });
     },