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))
本文标题:获取地址栏参数
本文链接:https://www.haomeiwen.com/subject/zxhjlltx.html
网友评论