JS/H5如何判断是在小程序运行-亲测有效
if(window.__wxjs_environment!=undefined){ alert('是小程序') }else{ alert('不是小程序') }
取消回复
发表评论