Operating environment
Taro.ENV_TYPE
ENV_TYPE.WEAPP
WeChat Mini-Program
ENV_TYPE.SWAN
Baidu Smart-Program
ENV_TYPE.ALIPAY
Alipay Mini-Program
ENV_TYPE.TT
ByteDance Mini-Program
ENV_TYPE.WEB
WEB(H5)
ENV_TYPE.RN
ReactNative
ENV_TYPE.QUICKAPP
Quick-App
ENV_TYPE.QQ
QQ Mini-Program
ENV_TYPE.JD
Jingdong Mini-Program
Taro.getEnv()
Gets the current environment value and returns the value as above.