const type = uni.getSystemInfoSync().uniPlatform
console.log(type) // app
uniapp判断当前运行环境 app h5 微信小程序 百度小程序_uni.getsysteminfosync().uniplatform-CSDN博客
const type = uni.getSystemInfoSync().uniPlatform
console.log(type) // app
uniapp判断当前运行环境 app h5 微信小程序 百度小程序_uni.getsysteminfosync().uniplatform-CSDN博客