checkInstalledThirdPlatform 是否安装第三方平台,QQ,微信,微博
checkInstalledThirdPlatform ^6.8
是否安装第三方平台,QQ,微信,微博
#请求参数
| Prop | Type | Default | Comment |
|---|---|---|---|
platform |
String |
N/A |
wx"微信,"qq","weibo"微博 |
testFlight |
String |
N/A |
iOS仅有 |
| #### 接口调用示例 |
const params = {
platform: 'weibo', //"wx"微信,"qq","weibo"微博
testFlight: 'iOS仅有',
}
this.$bridge
.checkInstalledThirdPlatform(params)
.then(res => {
this.$alert(res)
})
.catch(err => {
this.$toast(err)
})
#返回参数
- 成功时返回
| Prop | Type | Default | Description |
|---|---|---|---|
status |
Number |
N/A |
0未安装,1已安装 |
- 失败时返回
浙公网安备 33010602011771号