From 2127edb7d78a6603609ebbf1e0d4b2f45738c12a Mon Sep 17 00:00:00 2001 From: Charles7c Date: Mon, 28 Oct 2024 22:28:11 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E5=A4=9A=E4=BD=99?= =?UTF-8?q?=E7=9A=84=E5=9B=BE=E6=A0=87=E5=A4=96=E9=93=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/assets/icons/slider.svg | 6 ++++++ src/views/dashboard/analysis/components/AccessTimeslot.vue | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) create mode 100644 src/assets/icons/slider.svg diff --git a/src/assets/icons/slider.svg b/src/assets/icons/slider.svg new file mode 100644 index 0000000..4f59635 --- /dev/null +++ b/src/assets/icons/slider.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/src/views/dashboard/analysis/components/AccessTimeslot.vue b/src/views/dashboard/analysis/components/AccessTimeslot.vue index 7892738..7fa2ee6 100644 --- a/src/views/dashboard/analysis/components/AccessTimeslot.vue +++ b/src/views/dashboard/analysis/components/AccessTimeslot.vue @@ -10,6 +10,7 @@ import { type EChartsOption, graphic } from 'echarts' import { useChart } from '@/hooks' import { type DashboardChartCommonResp, getAnalysisTimeslot as getData } from '@/apis/common' +import handleIcon from '@/assets/icons/slider.svg' // 提示框 const tooltipItemsHtmlString = (items) => { @@ -159,8 +160,7 @@ const { chartOption } = useChart((isDark: EChartsOption) => { right: 14, height: 14, borderColor: 'transparent', - handleIcon: - 'image://http://p3-armor.byteimg.com/tos-cn-i-49unhts6dw/1ee5a8c6142b2bcf47d2a9f084096447.svg~tplv-49unhts6dw-image.image', + handleIcon: `image://${handleIcon}`, handleSize: '20', handleStyle: { shadowColor: 'rgba(0, 0, 0, 0.2)',