uni-app 判断 let ua = navigator.userAgent.toLowerCase(); if (ua.match(/MicroMessenger/i) == "micromessenger") { return '微信浏览器' }else{ return '普通浏览器' }