You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by GitBox <gi...@apache.org> on 2020/07/24 03:55:20 UTC

[GitHub] [incubator-echarts] m2maomao commented on issue #2519: 在 Modal 中使用 echart

m2maomao commented on issue #2519:
URL: https://github.com/apache/incubator-echarts/issues/2519#issuecomment-663335902


   今天遇到了你这个问题,因为zorro里面的modal是动态显示的,直接把echarts加进去的话,echarts.init找不到dom节点,可以尝试在modal里面添加nzAfterOpen后再执行显示echarts,此时弹窗已经加载完成,完美显示echarts


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org