|
|
@@ -189,9 +189,12 @@ export default {
|
|
|
})
|
|
|
})
|
|
|
.then(res => {
|
|
|
- if (res.data.data.page_item !== 0) {
|
|
|
+ if (res.data.data.total_item !== 0) {
|
|
|
this.tableData = res.data.data.page_list;
|
|
|
- this.tableSum = res.data.data.page_item;
|
|
|
+ this.tableSum = res.data.data.total_item;
|
|
|
+ } else {
|
|
|
+ this.tableData = []
|
|
|
+ this.tableSum = 0
|
|
|
}
|
|
|
this.loading = false;
|
|
|
})
|