判断是否是微信端
isWeChat(){
let ua = navigator.userAgent.toLowerCase();
if (ua.match(/MicroMessenger/i) == "micromessenger") {
this.iswx = true //微信端
} else {
this.iswx = false; //非微信端
}
},
isWeChat(){
let ua = navigator.userAgent.toLowerCase();
if (ua.match(/MicroMessenger/i) == "micromessenger") {
this.iswx = true //微信端
} else {
this.iswx = false; //非微信端
}
},