vue echarts引入外部资源js文件报错Cannot read property ‘echarts’ of undefined

vue echarts引入外部资源js文件报错Cannot read property ‘echarts’ of undefined 问题点 在vue中引入echarts后,我引入的是山东省最新的js文件,本地开发环境没事,在vue项目打包后部署后报Cannot read property ‘echarts’ of undefined错误。 图片示例 解决方案 比较笨的一种方案,把修改后的文件替换
相关文章
相关标签/搜索