01
This commit is contained in:
@@ -111,13 +111,15 @@ export default {
|
||||
console.log(`每页 ${val} 条`);
|
||||
},
|
||||
handleCurrentChange(val) {
|
||||
if (val != -1){
|
||||
if (val == -1) {
|
||||
this.value.pageNum = 1
|
||||
}else {
|
||||
this.value.pageNum = val
|
||||
}
|
||||
let data = {
|
||||
title:this.query,
|
||||
id: this.value.navId,
|
||||
pageNum: val,
|
||||
pageNum: this.value.pageNum,
|
||||
pageSize: 4
|
||||
}
|
||||
this.type = this.$route.query && this.$route.query.type
|
||||
|
||||
Reference in New Issue
Block a user