mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-25 15:15:19 +00:00
chore(nuxt): use router code reference permalink (#28356)
This commit is contained in:
parent
f2c888bf68
commit
198c4e199d
@ -118,7 +118,7 @@ const plugin: Plugin<{ router: Router }> = defineNuxtPlugin({
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
// https://github.com/vuejs/router/blob/main/packages/router/src/router.ts#L1225-L1233
|
// https://github.com/vuejs/router/blob/8487c3e18882a0883e464a0f25fb28fa50eeda38/packages/router/src/router.ts#L1283-L1289
|
||||||
const route = {} as RouteLocationNormalizedLoaded
|
const route = {} as RouteLocationNormalizedLoaded
|
||||||
for (const key in _route.value) {
|
for (const key in _route.value) {
|
||||||
Object.defineProperty(route, key, {
|
Object.defineProperty(route, key, {
|
||||||
|
Loading…
Reference in New Issue
Block a user