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() })