From cb0791d5df11b51b6d15c3daab30e99e0e317afc Mon Sep 17 00:00:00 2001 From: houzhongjian <houzhongyi@126.com> Date: 星期一, 20 一月 2025 14:59:30 +0800 Subject: [PATCH] 指标管理数据集和计划数据➡计划数据集增加查询语句敏感词校验与限制表单提交 --- src/components/Echart/src/Echart.vue | 8 ++++++-- 1 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/components/Echart/src/Echart.vue b/src/components/Echart/src/Echart.vue index fd3342d..02738ca 100644 --- a/src/components/Echart/src/Echart.vue +++ b/src/components/Echart/src/Echart.vue @@ -9,6 +9,10 @@ import { isString } from '@/utils/is' import { useDesign } from '@/hooks/web/useDesign' +import 'echarts/lib/component/markPoint' +import 'echarts/lib/component/markLine' +import 'echarts/lib/component/markArea' + defineOptions({ name: 'EChart' }) const { getPrefixCls, variables } = useDesign() @@ -94,13 +98,13 @@ contentEl.value = document.getElementsByClassName(`${variables.namespace}-layout-content`)[0] unref(contentEl) && - (unref(contentEl) as Element).addEventListener('transitionend', contentResizeHandler) + (unref(contentEl) as Element).addEventListener('transitionend', contentResizeHandler) }) onBeforeUnmount(() => { window.removeEventListener('resize', resizeHandler) unref(contentEl) && - (unref(contentEl) as Element).removeEventListener('transitionend', contentResizeHandler) + (unref(contentEl) as Element).removeEventListener('transitionend', contentResizeHandler) }) onActivated(() => { -- Gitblit v1.9.3