Vue的报错Echarts Cannot read property ‘init‘ of undefined

直接 import echarts from 'echarts’时报错,后面修改了引入时的写法就正常了!

import * as echarts from 'echarts'

猜你喜欢

转载自blog.csdn.net/fujian9544/article/details/111299607
今日推荐