diff --git a/src/views/components/carouselChart.vue b/src/views/components/carouselChart.vue index 811e68d..60aa209 100644 --- a/src/views/components/carouselChart.vue +++ b/src/views/components/carouselChart.vue @@ -614,6 +614,8 @@ export default { .then((res) => { console.log(res); this.localPoints = res.data.list; + this.color = res.data.color; + this.num = res.data.boderWidth; if (this.markEnable === 1) { this.drawline(); } @@ -651,6 +653,8 @@ export default { .then((res) => { console.log(res); this.localPoints = res.data.list; + this.color = res.data.color; + this.num = res.data.boderWidth; if (this.markEnable === 1) { this.drawline(); } @@ -685,6 +689,8 @@ export default { .then((res) => { console.log(res); this.localPoints = res.data.list; + this.color = res.data.color; + this.num = res.data.boderWidth; if (this.markEnable === 1) { this.drawline(); } @@ -714,6 +720,8 @@ export default { .then((res) => { console.log(res); this.localPoints = res.data.list; + this.color = res.data.color; + this.num = res.data.boderWidth; if (this.markEnable === 1) { this.drawline(); } @@ -739,6 +747,8 @@ export default { .then((res) => { console.log(res); this.localPoints = res.data.list; + this.color = res.data.color; + this.num = res.data.boderWidth; if (this.markEnable === 1) { this.drawline(); }