vue引入echarts报错 Cannot read property 'init' of undefined"
vue引入echarts报错 Cannot read property 'init' of undefined"
小美女 2021-05-10 暂无评论 暂无分类 103
vue正常引入echarts的时候报错
import echarts from 'echarts'
只需要把引入的写法改成如下代码即可
import * as echarts from 'echarts'
瞅我来气不?用红包砸死我吧

