mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-15 13:56:43 +08:00
修改分页不共用的处理
This commit is contained in:
@@ -51,7 +51,7 @@
|
|||||||
<book-list></book-list>
|
<book-list></book-list>
|
||||||
</el-tab-pane> -->
|
</el-tab-pane> -->
|
||||||
</el-tabs>
|
</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
|
<el-pagination
|
||||||
background
|
background
|
||||||
@size-change="handleSizeChange"
|
@size-change="handleSizeChange"
|
||||||
@@ -469,12 +469,10 @@
|
|||||||
},
|
},
|
||||||
handleClick() {
|
handleClick() {
|
||||||
if(this.activeName == '7') {
|
if(this.activeName == '7') {
|
||||||
this.$refs.followList.resetActive();
|
//单独的分页,所以这里不与当前页面的分页共用
|
||||||
//this.page.count =0;
|
this.$refs.followList.resetActive();
|
||||||
this.$refs.followList.getPage();
|
this.$refs.followList.getPage();
|
||||||
//console.log(this.$refs.followList,'llllmj')
|
return
|
||||||
this.page.count = this.$refs.followList.count;
|
|
||||||
return
|
|
||||||
}
|
}
|
||||||
if(this.activeName == '8') {
|
if(this.activeName == '8') {
|
||||||
this.page.count = 0;
|
this.page.count = 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user