echats使用出现“export ‘default‘ (imported as ‘echarts‘) was not found in ‘echarts‘问题

在使用echarts的时候遇到了版本问题。

我安装的版本是5.0.0,卸载换成低版本的。

npm uninstall echarts
npm install [email protected]

 成功解决。

猜你喜欢

转载自blog.csdn.net/DW_css/article/details/122384097
今日推荐