Browse Source

2022/2/25

zkl 4 years ago
parent
commit
c08326ccdc
1 changed files with 5 additions and 2 deletions
  1. 5 2
      minggao/src/page/systemmanger/dayRecord.vue

+ 5 - 2
minggao/src/page/systemmanger/dayRecord.vue

@@ -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;
         })