uniapp 页面操作
webview页面操作
onshow(){
getQuery(name) {
// 正则:[找寻’&’ + ‘url参数名字’ = ‘值’ + ‘&’](’&'可以不存在)
console.log(window,location)//看是否有data=1233的key值
let r = window.location.xxxx.xxxxx; //找到你写的值
然后做正则 把不要的字符去掉
console.log®;// r=1233
完美
}
}