提交 ead50f50 编写于 作者: L lang

Fix toolbox.feature.dataZoom not work when option.dataZoom is an object

上级 4e9a4a5e
......@@ -283,7 +283,7 @@ define(function(require) {
var dataZoomOpts = option.dataZoom || (option.dataZoom = []);
if (!zrUtil.isArray(dataZoomOpts)) {
dataZoomOpts = [dataZoomOpts];
option.dataZoom = dataZoomOpts = [dataZoomOpts];
}
var toolboxOpt = option.toolbox;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册