From f13556fecec4fcd7a1079a453ccf7d955e486e21 Mon Sep 17 00:00:00 2001 From: fanluyan <754122931@qq.com> Date: Mon, 5 Jun 2023 18:11:19 +0800 Subject: [PATCH] chaxun --- src/views/components/carouselChart.vue | 6 ++++-- .../photographicDevice/components/pictureTags.vue | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/views/components/carouselChart.vue b/src/views/components/carouselChart.vue index 337038c..a66d3f6 100644 --- a/src/views/components/carouselChart.vue +++ b/src/views/components/carouselChart.vue @@ -190,8 +190,8 @@ export default { canvas: null, ctx: null, imgpic: null, - color: "#00ff00", - num: 5, + color: "", + num: "", showBigpic: false, flagline: true, }; @@ -212,6 +212,8 @@ export default { .then((res) => { console.log(res); this.localPoints = res.data.list; + this.color = res.data.color; + this.num = res.data.boderWidth; this.drawline(); }) .catch((err) => {}); diff --git a/src/views/management/monitoringEquipment/photographicDevice/components/pictureTags.vue b/src/views/management/monitoringEquipment/photographicDevice/components/pictureTags.vue index 8ab3c60..6a8dac5 100644 --- a/src/views/management/monitoringEquipment/photographicDevice/components/pictureTags.vue +++ b/src/views/management/monitoringEquipment/photographicDevice/components/pictureTags.vue @@ -93,7 +93,7 @@ export default { ctx: null, imgpic: null, drawingSurfaceImageData: "", - color: "#00ff00", + color: "#0000ff", num: 2, flag: false, x: 0,