在使用echart-for-react时,切换分段器会出现数据更新时数据合并的问题
解决此bug的方法是在组件标签内加入notMerge={true},让数据不会自动合并
例如:
<ReactEchartsCore style={{marginTop: '20px'}} notMerge={true} echarts={echarts} showLoading={this.state.loading} option={this.state.options} theme='chart_theme'/>