|
|
@@ -66,10 +66,9 @@ export default {
|
|
|
pageSize: this.pageSize,
|
|
|
columnCode: this.active,
|
|
|
}
|
|
|
- console.log(this.active)
|
|
|
const res = await serverAPI('zpsmzjlbtcxjk', data)
|
|
|
// const res = await getArticleList(data)
|
|
|
-
|
|
|
+ console.log(res, this.pageNum + '数据')
|
|
|
if (this.pageNum == 1) {
|
|
|
this.info = res.rows
|
|
|
} else {
|
|
|
@@ -91,7 +90,8 @@ export default {
|
|
|
this.info = []
|
|
|
this.active = e
|
|
|
this.finished = false // 切换时显示加载中
|
|
|
- this.getList()
|
|
|
+ this.loading = true
|
|
|
+ this.onLoad()
|
|
|
},
|
|
|
},
|
|
|
}
|