瀏覽代碼

total无线刷新

qinhouyu 1 年之前
父節點
當前提交
e88a1b0715
共有 1 個文件被更改,包括 2 次插入1 次删除
  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 {