From d0b163b5f1114a93b5d0f04e77a00ed8adb91894 Mon Sep 17 00:00:00 2001 From: 田源 <lastanimals@163.com> Date: 星期四, 14 十二月 2023 20:18:37 +0800 Subject: [PATCH] 整合代码 --- Source/UBCS-WEB/src/components/StatisticsComponent/ColumnarChart.vue | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) diff --git a/Source/UBCS-WEB/src/components/StatisticsComponent/ColumnarChart.vue b/Source/UBCS-WEB/src/components/StatisticsComponent/ColumnarChart.vue index 9ec9ec9..3824b23 100644 --- a/Source/UBCS-WEB/src/components/StatisticsComponent/ColumnarChart.vue +++ b/Source/UBCS-WEB/src/components/StatisticsComponent/ColumnarChart.vue @@ -36,7 +36,7 @@ ); }); - let colors = ["#91CC75", "#5470C6"]; + let colors = ['#84C9E5', '#F68686']; const seriesData = []; for (let i = 0; i < newval.length; i++) { @@ -82,7 +82,6 @@ chartName:{ handler(newval,oldval){ if(newval){ - console.log(newval) this.chartOptions.title.text = newval + "鏁版嵁缁熻" } }, @@ -93,7 +92,7 @@ data() { return { chartOptions: { - color:["#91CC75", "#5470C6"], + color:['#84C9E5', '#F68686'], title: { text: "", }, -- Gitblit v1.9.3