Pārlūkot izejas kodu

fix:修改发票管理分页异常问题

lazy 5 mēneši atpakaļ
vecāks
revīzija
66e88441d4
1 mainītis faili ar 2 papildinājumiem un 1 dzēšanām
  1. 2 1
      src/views/invoicesManagement/index.vue

+ 2 - 1
src/views/invoicesManagement/index.vue

@@ -45,6 +45,7 @@
             :table-options="getTableOptions"
             :data="tableData"
             :count="total"
+            parent-component="InvoicesManagement"
           />
         </div>
       </el-tabs>
@@ -111,7 +112,7 @@ export default {
         const { rows, records } = data.data
         this.loading = false
         this.tableData = rows
-        this.count = records
+        this.total = records
       })
     },
     submitForm(formName) {