href图解
常用方法
export function getQueryString(name){
var reg = new RegExp("(^|&)"+ name +"=([^&]*)(&|$)");
var str = window.location.search || window.location.hash
var r = str.substr(1).match(reg);
if(r!=null)return unescape(r[2]); return null;
}