Closed xiaoCue closed 1 year ago
container.js:373 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'length') at ./nodemodules/@antv_g-base@0.5.11@@antv/g-base/esm/abstract/container.js.Container.getCount
漏斗图funnel ,uselayoutEffect中使用chart.changeSize
控制台无报错
@ant-design/charts@1.3.5 @ant-design/plots@1.2.2
+1
去掉renderer="svg"不会报这个错
建议不要使用renderer: "svg"
renderer: "svg"
报错的代码里没有使用renderer: "svg"
🐛 bug 描述
container.js:373 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'length') at ./nodemodules/@antv_g-base@0.5.11@@antv/g-base/esm/abstract/container.js.Container.getCount
📷 复现步骤
漏斗图funnel ,uselayoutEffect中使用chart.changeSize
🏞 期望结果
控制台无报错
© 版本信息
@ant-design/charts@1.3.5 @ant-design/plots@1.2.2