-
uniapp如何判断当前环境
uniapp判断当前环境的方法:1、判断是苹果,代码为【uni.getSystemInfoSync().platform==ios】;2、判断是安卓,代码为【uni.getSystemInfoSync().platform=andr】。本教
uniapp判断当前环境的方法:1、判断是苹果,代码为【uni.getSystemInfoSync().platform==ios】;2、判断是安卓,代码为【uni.getSystemInfoSync().platform=andr】。本教