From 5d32750d878ced61ab9cb2883f88a7f98ef576d8 Mon Sep 17 00:00:00 2001 From: g7hoo Date: Tue, 27 Sep 2022 15:52:03 +0800 Subject: [PATCH] =?UTF-8?q?update=20=E5=AE=9E=E6=97=B6=E6=95=B0=E6=8D=AE?= =?UTF-8?q?=E2=80=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/modules/monitoring/realtimeProductLine.vue | 2 +- src/views/modules/monitoring/realtimeQualityInspection.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/modules/monitoring/realtimeProductLine.vue b/src/views/modules/monitoring/realtimeProductLine.vue index eef1a0c..848238f 100644 --- a/src/views/modules/monitoring/realtimeProductLine.vue +++ b/src/views/modules/monitoring/realtimeProductLine.vue @@ -51,7 +51,7 @@ export default { type: 'warning', onClose: () => { this.clearData() - this.fetchList().then(res => { + this.fetchList().then(({ data: res }) => { this.testData = res this.handleData() }) diff --git a/src/views/modules/monitoring/realtimeQualityInspection.vue b/src/views/modules/monitoring/realtimeQualityInspection.vue index b82f109..955046d 100644 --- a/src/views/modules/monitoring/realtimeQualityInspection.vue +++ b/src/views/modules/monitoring/realtimeQualityInspection.vue @@ -48,7 +48,7 @@ export default { type: 'warning', onClose: () => { this.clearData() - this.fetchList().then(res => { + this.fetchList().then(({ data: res }) => { this.testData = res this.handleData() })