错误1:resize
should not be called during main process
错误2: “Error: xAxis “0“ not found“
前言:echart升级之后这两个错误频繁出现,并且报错数量持续增长累积
解决方案:从 import echarts from 'echarts/lib/echarts'
改为 import * as echarts from 'echarts'
`resize` should not be called during main process 和 “Error: xAxis “0“ not found“
最新推荐文章于 2022-10-27 15:57:25 发布