|
@@ -111,11 +111,12 @@ export default {
|
|
|
})
|
|
|
},
|
|
|
/* 分页 */
|
|
|
- paging(content, res) {
|
|
|
+ paging(data, res, update = false) {
|
|
|
+ let content = JSON.parse(JSON.stringify(data))
|
|
|
content.pageNumber = res.pageNumber + 1;
|
|
|
content.pageTotal = res.pageTotal;
|
|
|
// this.pagingText = content.pageNumber + ' / ' + content.pageTotal;
|
|
|
- this.bottomTips = res.total != 0 && content.pageNumber >= content.pageTotal;
|
|
|
+ if (!update) this.bottomTips = res.total != 0 && content.pageNumber >= content.pageTotal;
|
|
|
if (this.isShowEmpty) this.empty = res.total == 0;
|
|
|
return content;
|
|
|
}
|