uniapp判断当前环境是ios还是android
uniapp判断当前环境是ios还是android
判断是苹果:
uni.getSystemInfoSync().platform == 'ios'
安卓:
uni.getSystemInfoSync().platform === 'android'
判断是苹果:
uni.getSystemInfoSync().platform == 'ios'
安卓:
uni.getSystemInfoSync().platform === 'android'