Skip to content

[Bug] Property 'file' does not exist on type 'RouteRecordNormalized' #561

@wzc520pyfm

Description

@wzc520pyfm

In package/client/src/components/pages/RoutesTable.vue, it has type error.

image

In fact, there is no file attribute in the sorted here.

image

I track the source of sorted and found that it came from window.__VUE_DEVTOOLS_ROUTER_INFO__, Maybe for some reason, it was planned to add the file attribute at package/devtools-kit/src/core/router/index.ts 15line, but it was not added in the end?
image

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