RouteLocationRaw resolved using the matcher
Hierarchy
_RouteLocationBase
↳RouteLocation
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: RouteRecordNormalized
RouteRecord 数组包含添加记录时传递的组件。 它还可以包含重定向记录。 这个不能直接用
meta
• meta: RouteMeta
合并所有匹配路由记录的meta
属性。
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
URL 的百分比编码路径名部分。
Inherited from
_RouteLocationBase.path
query
• query: LocationQuery
当前位置的search
属性的对象表示。
Inherited from
_RouteLocationBase.query
redirectedFrom
• redirectedFrom: undefined
| RouteLocation
包含我们在到达当前位置之前最初尝试访问的位置。
Inherited from
_RouteLocationBase.redirectedFrom