Cannot read property ‘getAttribute’ of null
报错原因:echart dom 没有渲染完成
需要在代码外边加上
this.$nextTick(()=> {代码})

Logo

前往低代码交流专区

更多推荐