浏览代码

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

lazy 5 月之前
父节点
当前提交
66e88441d4
共有 1 个文件被更改,包括 2 次插入1 次删除
  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) {