提交 e538b379 编写于 作者: P pissang

fix(radar): fix default polygon shown bug.

上级 b7863340
......@@ -205,6 +205,8 @@ class RadarView extends ChartView {
const areaStyleModel = itemModel.getModel('areaStyle');
const polygonIgnore = areaStyleModel.isEmpty() && areaStyleModel.parentModel.isEmpty();
polygon.ignore = polygonIgnore;
zrUtil.each(['emphasis', 'select', 'blur'] as const, function (stateName) {
const stateModel = itemModel.getModel([stateName, 'areaStyle']);
const stateIgnore = stateModel.isEmpty() && stateModel.parentModel.isEmpty();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册