RouteLocationNormalized Interface

类似于RouteLocation 但它的matched 不能包含重定向记录

Hierarchy

  • _RouteLocationBase
    RouteLocationNormalized

Properties

fullPath

fullPath: string

包括searchhash在内的整个位置。 这个字符串是百分比编码的。

Inherited from

_RouteLocationBase.fullPath


hash

hash: string

当前位置的哈希值。 如果存在,则以#开头。

Inherited from

_RouteLocationBase.hash


matched

matched: RouteRecordNormalized

Array of RouteRecordNormalized


meta

meta: RouteMeta

合并所有匹配路由记录的meta属性。

Inherited from

_RouteLocationBase.meta


name

name: undefined | null | RouteRecordName

匹配记录的名称

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