update src/components/Echart/src/Echart.vue.

echart 没有显示markLine、markPoint、markArea
如果延后到 vue显示页面加入此三行,线上会出错

Signed-off-by: ddlu <ludd@mail.ustc.edu.cn>
This commit is contained in:
ddlu 2024-12-28 07:40:57 +00:00 committed by Gitee
parent 472da9274e
commit b9326463c2
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -9,6 +9,10 @@ import { useAppStore } from '@/store/modules/app'
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()