Skip to content

Anchor custom event e.preventDefault(); throw error. #4857

@shiwanjun1995

Description

@shiwanjun1995
  • I have searched the issues of this repository and believe that this is not a duplicate.

Version

2.2.8

Environment

"vue": "^3.2.16", "vite": "^2.6.4",

Reproduction link

https://2x.antdv.com/components/anchor-cn#components-anchor-demo-onClick

Steps to reproduce

pelease see example.

What is expected?

no throw error.

What is actually happening?

throw error.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions