Skip to content

[bug] wrong condition of current.matched in src/util/location.js#27 #1169

Closed
@puxxustc

Description

@puxxustc

This line https://github.com/vuejs/vue-router/blob/dev/src/util/location.js#L27

    } else if (current.matched) {

current.matched is an Array, so this condition should be

    } else if (current.matched.length === 0) {

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