Skip to content

Commit b932646

Browse files
luzhoulugitee-org
authored andcommitted
update src/components/Echart/src/Echart.vue.
echart 没有显示markLine、markPoint、markArea 如果延后到 vue显示页面加入此三行,线上会出错 Signed-off-by: ddlu <[email protected]>
1 parent 472da92 commit b932646

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/components/Echart/src/Echart.vue

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ import { useAppStore } from '@/store/modules/app'
99
import { isString } from '@/utils/is'
1010
import { useDesign } from '@/hooks/web/useDesign'
1111
12+
import "echarts/lib/component/markPoint"
13+
import "echarts/lib/component/markLine"
14+
import "echarts/lib/component/markArea"
15+
1216
defineOptions({ name: 'EChart' })
1317
1418
const { getPrefixCls, variables } = useDesign()

0 commit comments

Comments
 (0)