Skip to content

router.push make beforeeach run twice #1739

@mc-tracker

Description

@mc-tracker

Reproduction

reproduce easily

Steps to reproduce the bug

1、declare beforeeach with router and embed console.log in it for log.
2、use router.push to navigate any path.
3、check the console log on browser.

Expected behavior

log is printed once after router.push.

Actual behavior

log is printed twice after router.push.

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions