Browse Source

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

Signed-off-by: ddlu <ludd@mail.ustc.edu.cn>

ddlu 7 tháng trước cách đây
mục cha
commit
b9326463c2
1 tập tin đã thay đổi với 4 bổ sung0 xóa
  1. 4 0
      src/components/Echart/src/Echart.vue

+ 4 - 0
src/components/Echart/src/Echart.vue

@@ -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()