使用vue-echarts,需要按需引入
引入缺失报错:
Error in callback for watcher "options": "Error: Component series.bar not exists. Load it first."
解决:
import 'echarts/lib/chart/bar'
引入缺失报错:
Error in callback for watcher "options": "Error: Component series.bar not exists. Load it first."
解决:
import 'echarts/lib/chart/bar'