# showShareView
分享,弹窗原生拉起
# 调用方式
showShareView(params)
1
返回 Promise,使用 then/catch 或 await 处理结果。
# 请求参数
| Prop | Type | Required | Default | Description |
|---|---|---|---|---|
| title | String | Y | 页面标题 | |
| url | String | Y | 分享地址 |
# 接口调用示例
this.$bridge.showShareView({
title: this.langObj.scan_loading_PI,
url: this.basePdfUrl
})
1
2
3
4
2
3
4
# 返回参数
返回 Promise,数据字段以原生返回值为准。
# 接口返回示例
this.$bridge.showShareView({
title: this.langObj.scan_loading_PI,
url: this.basePdfUrl
}).then((res) => {
}).catch((err) => {
});
1
2
3
4
5
6
7
8
2
3
4
5
6
7
8