提交 a06096a1 编写于 作者: 1 100pah

fix: if resize silent specified with not null/undefined, always use resize silent.

上级 3f86f91a
......@@ -1168,7 +1168,9 @@ class ECharts extends Eventful<ECEventDefinition> {
// chart.setOption(option, { lazyUpdate: true });
// chart.resize();
if (this[OPTION_UPDATED_KEY]) {
silent = silent || (this[OPTION_UPDATED_KEY] as any).silent;
if (silent == null) {
silent = (this[OPTION_UPDATED_KEY] as any).silent;
}
needPrepare = true;
this[OPTION_UPDATED_KEY] = false;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册