getAppInfo 指明当前APP版本号和环境

getAppInfo ^7.10

指明当前APP的版本号和环境

#请求参数

N/A

#接口调用示例

this.$bridge
  .getAppInfo()
  .then(res => {
    this.$alert(res)
  })
  .catch(err => {
    this.$toast(err)
  })

#接口返回示例

{
  appVersion: '8.22.5.398', // app版本
  appName: '美的美居',  // app名称
  appEnv: 'sit',  // 环境
  appPlatform: 'android'  // android/iOS
}
posted on 2024-12-16 09:43  AtlasLapetos  阅读(44)  评论(0)    收藏  举报