echarts报错import * as echarts from 'echarts';
时间:2021-05-23 17:22:01
收藏:0
阅读:1256
出现在版本5.0以上
引入方法改为
import * as echarts from ‘echarts‘;
或
const echarts = require(‘echarts‘);
原文:https://www.cnblogs.com/shirunfeng/p/14801382.html
评论(0)