引入 echars 5.0 遇到报错 "export ‘default’ (imported as ‘echarts’) was not found in ‘echarts’
引入方式改为
import * as echarts from 'echarts';
// 或
const echarts = require('echarts');
引入 echars 5.0 遇到报错 "export ‘default’ (imported as ‘echarts’) was not found in ‘echarts’
引入方式改为
import * as echarts from 'echarts';
// 或
const echarts = require('echarts');