将引入方式改为
1 import * as echarts from ‘echarts‘; 2 // 或 3 const echarts = require(‘echarts‘);
引入 echars 5.0 遇到报错 "export ‘default’ (imported as ‘echarts’) was not found in ‘echarts’
2024-01-08 16:37:34
将引入方式改为
1 import * as echarts from ‘echarts‘; 2 // 或 3 const echarts = require(‘echarts‘);
引入 echars 5.0 遇到报错 "export ‘default’ (imported as ‘echarts’) was not found in ‘echarts’