Browse Source

total无线刷新

qinhouyu 1 year ago
parent
commit
e88a1b0715
1 changed files with 2 additions and 1 deletions
  1. 2 1
      pages/quotations/quotations.vue

+ 2 - 1
pages/quotations/quotations.vue

@@ -53,7 +53,7 @@ export default {
   data() {
     return {
       book: false,
-
+      total:0,
       //是否显示弹出层
       open: false,
       //悬浮按钮右对齐
@@ -116,6 +116,7 @@ export default {
     getList(row) {
       // 这里是获取列表的方法
       listQuotations(this.queryParams).then(response => {
+		  this.total=response.total
         if (this.queryParams.pageNum === 1) {
           this.quotationsList = this.dataFormat(response.rows)
         } else {