|
@@ -66,7 +66,7 @@ export default {
|
|
|
let pageNum = this.queryParams.pageNum;
|
|
|
let pageSize = this.queryParams.pageSize;
|
|
|
let total = this.total;
|
|
|
- if(pageNum*pageSize >= total){
|
|
|
+ if(pageNum * pageSize >= total){
|
|
|
uni.showToast({
|
|
|
title:'暂无更多数据'
|
|
|
});
|
|
@@ -92,7 +92,7 @@ export default {
|
|
|
/** 查询列表 */
|
|
|
getList(type) {
|
|
|
this.loading = true;
|
|
|
- getList().then(response => {
|
|
|
+ getList(this.queryParams).then(response => {
|
|
|
this.total = response.total
|
|
|
if (this.queryParams.pageNum === 1) {
|
|
|
this.list = response.rows;
|