From 5f33acc112f6247ec487406800091eb4f47ce89a Mon Sep 17 00:00:00 2001
From: zhanghua <314079846@qq.com>
Date: 星期五, 04 十一月 2022 11:02:00 +0800
Subject: [PATCH] bug修改

---
 src/views/intelligentPatrol/statistics/unlawful/type/index.vue |    6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/src/views/intelligentPatrol/statistics/unlawful/type/index.vue b/src/views/intelligentPatrol/statistics/unlawful/type/index.vue
index adbf32a..be1aa0f 100644
--- a/src/views/intelligentPatrol/statistics/unlawful/type/index.vue
+++ b/src/views/intelligentPatrol/statistics/unlawful/type/index.vue
@@ -169,10 +169,8 @@
         beginTime:'2022-05-01 00:00:00',
         endTime:'2022-09-01 00:00:00'
       }).then((res) => {
-        if (res.data.code == 200) {
-          this.list = res.data.data.records;
-          this.totalNum = res.data.data.total;
-        }
+          this.list = res.records;
+          this.totalNum = res.total;
       });
     },
     // 褰撳墠椤垫敼鍙樿Е鍙戜簨浠�

--
Gitblit v1.8.0