返回
HbuilderX
HbuilderX用js判断是在app中执行还是移动
//判断是否在app中打开 if (navigator.userAgent.indexOf("Html5Plus") < 0) { //在浏览器打开 console.log('我来自非app') }
app
HbuilderX