-
Notifications
You must be signed in to change notification settings - Fork 651
Cannot read property 'count' of undefined #276
Description
TypeError: Cannot read property 'count' of undefined core.js:77
at Task.dataTaskProgress (Series.js:567)
at doProgress (task.js:217)
at Task.webpackJsonp../node_modules/echarts/lib/stream/task.js.taskProto.perform (task.js:157)
at Scheduler.js:302
at ExtendedClass. (Global.js:517)
at Array.forEach ()
at each (util.js:298)
at ExtendedClass.eachSeries (Global.js:514)
at Scheduler.webpackJsonp../node_modules/echarts/lib/stream/Scheduler.js.proto.performSeriesTasks (Scheduler.js:300)
at ECharts.update (echarts.js:767)
看了下报错的地方是echarts-for-react/lib/core.js里的console.warn(e);:
if (_this.echartsElement) {
(0, _sizeSensor.bind)(_this.echartsElement, function () {
try {
echartObj.resize();
} catch (e) {
console.warn(e);
}
});
}
version: echarts-for-react 2.0.15-beta.0