fix: 修复多余的图标外链

This commit is contained in:
2024-10-28 22:28:11 +08:00
parent b908f14b33
commit 2127edb7d7
2 changed files with 8 additions and 2 deletions

View File

@@ -0,0 +1,6 @@
<svg width="22" height="20" viewBox="0 0 22 20" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M12 0H10C4.47715 0 0 4.47715 0 10C0 15.5228 4.47715 20 10 20H12C17.5228 20 22 15.5228 22 10C22 4.47715 17.5228 0 12 0Z" fill="white"/>
<path d="M7.59998 6.6001V13.4001" stroke="#165DFF" stroke-width="1.2" stroke-linecap="round"/>
<path d="M11.1 6.6001V13.4001" stroke="#165DFF" stroke-width="1.2" stroke-linecap="round"/>
<path d="M14.6 6.6001V13.4001" stroke="#165DFF" stroke-width="1.2" stroke-linecap="round"/>
</svg>

After

Width:  |  Height:  |  Size: 526 B

View File

@@ -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)',