判断是否是在微信内置浏览器中打开 isWeixinBrowser() { const ua = navigator.userAgent.toLowerCase(); return /micromessenger/.test(ua) ? true : false; }