Skip to content

gradientColorValidator判断gradientStops是否数组使用instanceof导致错误 #23

Description

@woxiaoyao81

gradientStops值是[0,1],使用instanceof判断是object导致重新渲染失败,调整为Array.isArray(gradientStops)即可

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    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