Skip to content

[Bug] 5.3.3版本使用主题文件出现警告信息 #17473

@Liangism

Description

@Liangism

Version

5.3.3

Link to Minimal Reproduction

No response

Steps to Reproduce

1.使用npm安装echarts;
2.使用示例默认的选项;
3.引入了macarons,shine主题;

Current Behavior

在引入了shine主题文件后,在控制台出现警告信息:

[ECharts] DEPRECATED: 'normal' hierarchy in iconStyle has been removed since 4.0. All style properties are configured in iconStyle directly now.
发现是theme/shine.js内toolbox配置项导致,并且macarons.js也有同样问题。
toolbox: { iconStyle: { normal: { borderColor: '#06467c' } } },

Expected Behavior

希望不要出现这个警告了:)

Environment

- OS:
- Browser:
- Framework:

Any additional comments?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions