# getTemperatureUnity

查询当前温度单位

# 接口调用示例

this.$bridge.getTemperatureUnity().then(res => {
    // res.unit: 0 ℃, 1 ℉
    console.log(res.unit)
})
1
2
3
4

# 返回参数

  • 返回温度单位:0=℃,1=℉