location.search與location.hash問題

背景 轉載http://www.cnblogs.com/libin-1/p/7067813.html 用過Vue Router的童鞋應該對路由傳參的方式多多少少有些印象,Vue Router支持兩種傳參方式:query與params;其中query方式就是動態地在路由url後面追加參數,就是http的get請求方式;那Vue Router與location的search和hash有什麼關係呢? 正
相關文章
相關標籤/搜索