echarts-for-react icon indicating copy to clipboard operation
echarts-for-react copied to clipboard

请问按需加载注册地图组件如何实现呢

Open hcxmj opened this issue 3 years ago • 0 comments

原有代码逻辑如下: import echarts from 'echarts'; import chinaJson from 'echarts/map/json/china.json';

componentDidMount() {
    echarts.registerMap('china', chinaJson);
}

hcxmj avatar Jul 29 '22 05:07 hcxmj