返回介绍

入门

基础

进阶

迁移

API 手册

接口

路线位置规范加载 RouteLocationNormalizedLoaded

发布于 2024-04-15 21:57:55 字数 3168 浏览 0 评论 0 收藏 0

RouteLocationRaw with

Hierarchy

  • _RouteLocationBase
    RouteLocationNormalizedLoaded

Properties

fullPath

fullPath: string

The whole location including the search and hash. This string is percentage encoded.

Inherited from

_RouteLocationBase.fullPath


hash

hash: string

Hash of the current location. If present, starts with a #.

Inherited from

_RouteLocationBase.hash


matched

matched: RouteLocationMatched

Array of RouteLocationMatched containing only plain components (any lazy-loaded components have been loaded and were replaced inside the components object) so it can be directly used to display routes. It cannot contain redirect records either


meta

meta: RouteMeta

Merged meta properties from all the matched route records.

Inherited from

_RouteLocationBase.meta


name

name: undefined | null | RouteRecordName

Name of the matched record

Inherited from

_RouteLocationBase.name


params

params: RouteParams

path中提取的解码参数的对象。

Inherited from

_RouteLocationBase.params


path

path: string

Percentage encoded pathname section of the URL.

Inherited from

_RouteLocationBase.path


query

query: LocationQuery

Object representation of the search property of the current location.

Inherited from

_RouteLocationBase.query


redirectedFrom

redirectedFrom: undefined | RouteLocation

Contains the location we were initially trying to access before ending up on the current location.

Inherited from

_RouteLocationBase.redirectedFrom

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
    我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
    原文