第3章 Angular Router

Angular Router 导航

重定向路由

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

www.aaa.com => www.aaa.com/productsip

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

Descriptionio

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

相关文章
相关标签/搜索