第3章 Angular Router

Angular Router 导航

重定向路由

在用户访问一个特定的地址时,将其重新定向到另一个指定的地址。

www.aaa.com => www.aaa.com/products

www.aaa.com/x => www.aaa.com/y

Description

redirectionTo is the url fragment which will replace the current matched segment(redirectionTo 是URL 片段将取代目前的匹配段)

posted @ 2017-10-05 09:07  会爬树的猪日月  阅读(90)  评论(0)    收藏  举报