From 55c0f98d49463fb11ec7e5c7d9fd02424cb72e5e Mon Sep 17 00:00:00 2001 From: fanluyan <754122931@qq.com> Date: Wed, 24 May 2023 10:38:32 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=98=E5=9B=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/components/carouselChart.vue | 6 +++++- .../photographicDevice/components/pictureTags.vue | 1 + 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/views/components/carouselChart.vue b/src/views/components/carouselChart.vue index 92eac44..645edf4 100644 --- a/src/views/components/carouselChart.vue +++ b/src/views/components/carouselChart.vue @@ -202,8 +202,12 @@ export default { console.log("this.bigPicPath"); this.localPoints = this.terminalPhoto[0].list; + console.log("111111111111111111111"); console.log(this.localPoints); - if (this.localPoints !== "") { + if (this.localPoints == undefined) { + console.log("无数据"); + return; + } else if (this.localPoints) { this.drawline(); } }, diff --git a/src/views/management/monitoringEquipment/photographicDevice/components/pictureTags.vue b/src/views/management/monitoringEquipment/photographicDevice/components/pictureTags.vue index 85bcded..58e992e 100644 --- a/src/views/management/monitoringEquipment/photographicDevice/components/pictureTags.vue +++ b/src/views/management/monitoringEquipment/photographicDevice/components/pictureTags.vue @@ -134,6 +134,7 @@ export default { submitForm() { this.isShow = false; this.saveCanvas(); + this.$parent.terminalList(); //刷新 }, display(val) { this.isShow = true;