第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

相關文章
相關標籤/搜索