Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

viser-vue一个页面添加了多个图表后,表单输入框的v-model出现反应迟钝,这是不是性能问题 #548

Open
victorChung opened this issue Jan 14, 2021 · 2 comments

Comments

@victorChung
Copy link

这个组件是不是在vue里做了监听之类导致的

@victorChung
Copy link
Author

victorChung commented Jan 14, 2021

页面数据加载渲染完成后,我手动删除图表对应的dom节点,结果各种能引起页面渲染的操作,控制台都会报错。
[Vue warn]: Error in updated hook: "TypeError: Cannot read property 'style' of null"

TypeError: Cannot read property 'style' of null
at Label.initHtmlContainer (g2.js?4e5b:25618)
at Label._createText (g2.js?4e5b:25642)
at Label._addLabel (g2.js?4e5b:25553)
at eval (g2.js?4e5b:25336)
at Object.each (g2.js?4e5b:236)
at Label._dryDraw (g2.js?4e5b:25331)
at Label.draw (g2.js?4e5b:25365)
at IntervalLabels.showLabels (g2.js?4e5b:12018)
at Interval._addLabels (g2.js?4e5b:2440)
at Interval.paint (g2.js?4e5b:2366)

@seymoe
Copy link

seymoe commented Apr 1, 2021

同问,图表的updated是怎么触发的?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants