修改江西测试问题

This commit is contained in:
guanj
2025-07-28 08:53:15 +08:00
parent b874da9f96
commit e90cecfb5b
14 changed files with 271 additions and 96 deletions

View File

@@ -15,7 +15,7 @@ import { color, gradeColor3 } from './color'
import { useConfig } from '@/stores/config'
const config = useConfig()
// import { nextTick } from 'process'
const emit = defineEmits(['triggerPoint'])
const emit = defineEmits(['triggerPoint', 'group'])
color[0] = config.layout.elementUiPrimary[0]
const chartRef = ref<HTMLDivElement>()
@@ -147,7 +147,8 @@ const initChart = () => {
handlerBar(options)
// 处理柱状图
chart.setOption(options, true)
chart.group = 'group'
// chart.group = 'group'
emit('group',chart)
// 添加点击事件
chart.on('click', function (params) {
if (params.seriesName == '暂态触发点') {