mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-14 21:36:42 +08:00
修改分页不共用的处理
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user