提交 f14feb5e 编写于 作者: P pissang

Check if target view has specified update method when dispatching action

上级 bd79182b
......@@ -845,7 +845,7 @@ define(function (require) {
var view = ecIns[
mainType === 'series' ? '_chartsMap' : '_componentsMap'
][model.__viewId];
if (view && view.__alive) {
if (view && view.__alive && view[method]) {
view[method](model, ecModel, ecIns._api, payload);
}
}, ecIns);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册