# connectExternalApplication
链接外部应用
# 请求参数
Prop | Type | Required | Default | Description |
---|---|---|---|---|
app_type | String | Y | - | 外部应用链接 |
# 接口请求示例
nativeService.connectExternalApplication({ app_type: this.linkAppIndex });
# 返回参数
无
# 接口返回示例
nativeService.connectExternalApplication({ app_type: this.linkAppIndex }).then((res) => {
this.$bridge.log('res', res);
if (Number(res.code) === 0) {
// 调用成功
// this.$bridge.hideLoading();
} else {
this.$bridge.hideLoading();
}
}).catch((err) => {})