echarts报错

出现在版本5.0以上

引入方法改为

 

  import * as echarts from 'echarts';

        或

  const echarts = require('echarts');

posted on 2021-05-23 16:13  贲风  阅读(781)  评论(0)    收藏  举报