You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
vue3
nodejs:20
npm:8.19.4
过程:
执行官方提供代码,链接如:https://g2.antv.antgroup.com/examples/general/interval/#bar-basic。抛出下面异常:
Uncaught TypeError: Failed to execute 'getComputedStyle' on 'Window': parameter 1 is not of type 'Element'.
at getContainerSize (@antv_g2.js?v=942620aa:66272:17)
at sizeOf2 (@antv_g2.js?v=942620aa:66451:64)
at Chart3._createCanvas (@antv_g2.js?v=942620aa:67074:31)
at Chart3.render (@antv_g2.js?v=942620aa:66898:12)
at Antv.vue:24:7
重现链接
No response
重现步骤
No response
预期行为
No response
平台
操作系统: [macOS, Windows, Linux, React Native ...]
网页浏览器: [Google Chrome, Safari, Firefox]
屏幕截图或视频(可选)
No response
补充说明(可选)
No response
The text was updated successfully, but these errors were encountered:
vue3 nodejs:20 npm:8.19.4 过程: 执行官方提供代码,链接如:https://g2.antv.antgroup.com/examples/general/interval/#bar-basic。抛出下面异常: Uncaught TypeError: Failed to execute 'getComputedStyle' on 'Window': parameter 1 is not of type 'Element'. at getContainerSize (@antv_g2.js?v=942620aa:66272:17) at sizeOf2 (@antv_g2.js?v=942620aa:66451:64) at Chart3._createCanvas (@antv_g2.js?v=942620aa:67074:31) at Chart3.render (@antv_g2.js?v=942620aa:66898:12) at Antv.vue:24:7
问题描述
vue3
nodejs:20
npm:8.19.4
过程:
执行官方提供代码,链接如:https://g2.antv.antgroup.com/examples/general/interval/#bar-basic。抛出下面异常:
Uncaught TypeError: Failed to execute 'getComputedStyle' on 'Window': parameter 1 is not of type 'Element'.
at getContainerSize (@antv_g2.js?v=942620aa:66272:17)
at sizeOf2 (@antv_g2.js?v=942620aa:66451:64)
at Chart3._createCanvas (@antv_g2.js?v=942620aa:67074:31)
at Chart3.render (@antv_g2.js?v=942620aa:66898:12)
at Antv.vue:24:7
重现链接
No response
重现步骤
No response
预期行为
No response
平台
屏幕截图或视频(可选)
No response
补充说明(可选)
No response
The text was updated successfully, but these errors were encountered: