修改分页不共用的处理

This commit is contained in:
daihh
2022-10-18 16:15:06 +08:00
parent 3817f4f74a
commit 677adb94c5

View File

@@ -51,7 +51,7 @@
<book-list></book-list>
</el-tab-pane> -->
</el-tabs>
<div style="text-align: center; margin-top:57px;" v-show="page.count > 0">
<div style="text-align: center; margin-top:57px;" v-show="page.count > 0 && activeName!='7'">
<el-pagination
background
@size-change="handleSizeChange"
@@ -469,12 +469,10 @@
},
handleClick() {
if(this.activeName == '7') {
this.$refs.followList.resetActive();
//this.page.count =0;
this.$refs.followList.getPage();
//console.log(this.$refs.followList,'llllmj')
this.page.count = this.$refs.followList.count;
return
//单独的分页,所以这里不与当前页面的分页共用
this.$refs.followList.resetActive();
this.$refs.followList.getPage();
return
}
if(this.activeName == '8') {
this.page.count = 0;