ant-design-pro中引入bizcharts报错:BizCharts is not defined 解决

it2022-06-22  75

解决方法:

在config.js 中的 externals 配置项中进行了如下配置修改:

externals: { '@antv/data-set': 'DataSet', // bizcharts: 'BizCharts', },

 

转载于:https://www.cnblogs.com/piaobodewu/p/10463877.html

相关资源:react-BizCharts是阿里开源基于G2的React图表库

最新回复(0)