Browse Source

2022/2/25

zkl 4 năm trước cách đây
mục cha
commit
c08326ccdc
1 tập tin đã thay đổi với 5 bổ sung2 xóa
  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;
         })