js_获取地址栏参数 已注销 2020-07-21 155 阅读1分钟 获取地址栏参数 export function getAddressModelParams() { let path = window.location.href.replace('#/', ''); let pathParams = path.substring(path.indexOf('?') + 1, path.length); return qs.parse(pathParams) }