angular中location的應用

angular 中location服務負責和瀏覽器的url打交道, 比如規格化url、前進、後退、拼接url等 一般建議是能用Router就用 Router, Location僅僅用在router不滿足情況下的url規格化和創建。
相關文章
相關標籤/搜索