获取地址栏参数
2021-04-15 本文已影响0人
_feest
let url =location.href
let splitStr =this.$route.path
let paramsarr =url.split(splitStr +'?')[1]
let b =paramsarr.split('&')
console.log((b))
let url =location.href
let splitStr =this.$route.path
let paramsarr =url.split(splitStr +'?')[1]
let b =paramsarr.split('&')
console.log((b))