if (this.is_weixin()) { this.qixin = true this.browser = false } else { this.qixin = false this.browser = true }
判断是在企业微信打开 还是 在浏览器打开
原文:https://www.cnblogs.com/candy-Yao/p/9948308.html