Skip to content
本页内容

API 参考 / NavigationGuardWithThis

接口:NavigationGuardWithThis<T>

类型参数

Name
T

可调用函数

NavigationGuardWithThis

NavigationGuardWithThis(this, to, from, next): NavigationGuardReturn | Promise<NavigationGuardReturn>

导航守卫。详情可查阅导航守卫.

参数

名称类型
thisT
toRouteLocationNormalized
fromRouteLocationNormalized
nextNavigationGuardNext

返回值

NavigationGuardReturn | Promise<NavigationGuardReturn>

Released under the MIT License.