devtools-next icon indicating copy to clipboard operation
devtools-next copied to clipboard

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

Open wzc520pyfm opened this issue 1 year ago • 1 comments

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

wzc520pyfm avatar Aug 03 '24 16:08 wzc520pyfm

/cc @webfansplz, is it deprecated now?

alexzhang1030 avatar Aug 06 '24 01:08 alexzhang1030