فهرست منبع

修改处罚记录列表页面翻页数据显示问题

zhanglikun 4 سال پیش
والد
کامیت
5827cb443a
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      src/apps/mobile/views/expert-database-bank/punishment/index.vue

+ 1 - 1
src/apps/mobile/views/expert-database-bank/punishment/index.vue

@@ -142,10 +142,10 @@ export default {
                         this.$router.replace("/login");
                         this.$router.replace("/login");
                     }
                     }
                     this.tableData = res.data.records;
                     this.tableData = res.data.records;
+                    this.total = res.data.total;
                     this.tableData.forEach(item => {
                     this.tableData.forEach(item => {
                         item.picUrl = item.picUrl.split(',');
                         item.picUrl = item.picUrl.split(',');
                     });
                     });
-                    this.total = res.data.total;
                     this.listLoading = false;
                     this.listLoading = false;
                 })
                 })
                 .catch(() => {
                 .catch(() => {