diff --git a/src/views/index/allSections/AllSections.vue b/src/views/index/allSections/AllSections.vue
index e905174..63d33c8 100755
--- a/src/views/index/allSections/AllSections.vue
+++ b/src/views/index/allSections/AllSections.vue
@@ -23,7 +23,10 @@
-
+
+
@@ -47,7 +50,6 @@ export default {
allActive: 0,
list: [{}],
postCollectionState: false, // 收藏的请求的状态
-
fid: 0, // 是否有选中的板块id
invitationList: [], // 选中板块帖子的列表
invitationLimit: 10,
@@ -63,6 +65,10 @@ export default {
},
methods: {
+ backAll() {
+ this.fid = 0
+ },
+
allClick(index) {
this.allActive = index
},
@@ -110,13 +116,9 @@ export default {
});
},
-
// 点击选中板块 并获取列表
pitchPlate(fid, subsectionsname) {
- console.log(fid);
-
this.fid = fid
- console.log(subsectionsname, "subsectionsname");
this.plate = {
stairname: this.list[this.allActive].name,
subsectionsname,
@@ -132,7 +134,6 @@ export default {
limit: this.invitationLimit,
fid: this.fid
}).then(res => {
- console.log(res, "res");
let data = res.data
this.invitationList = data.data
this.invitationCount = data.count
diff --git a/src/views/index/index.vue b/src/views/index/index.vue
index 1b0ab82..e335235 100755
--- a/src/views/index/index.vue
+++ b/src/views/index/index.vue
@@ -39,6 +39,7 @@ export default {
let data = res.data
this.favorite = data.favorite
this.recommend = data.recommend
+
})
},
}