使用vue-echarts,需要按需引入
引入缺失报错:
Error in callback for watcher "options": "Error: Component series.bar not exists. Load it first."
解决:
import 'echarts/lib/chart/bar'
文章来自:https://www.cnblogs.com/wwj007/p/12002726.html
引入缺失报错:
Error in callback for watcher "options": "Error: Component series.bar not exists. Load it first."
解决:
import 'echarts/lib/chart/bar'