shareMsg
shareMsg
分享功能,直接触发分享(微信,QQ,微博等)
- 参数描述:
| Prop | Type | Required | Default | Description |
|---|---|---|---|---|
param |
Object |
Y |
{} 属性: type:{ Type: String, Default: N/A, Description: wx 微信分享 qq QQ分享 sms 短信分享 weibo 微博分享 qzone QQ空间 wxTimeline 微信朋友圈 (分享类型) } title: desc: imgUrl: link: msgType:{ //^5.10.0 Type: String, Default: web, Description: web 图文 / img图片(为 img 时,imgurl 为分享图片的链接) } |
请求参数 |
#接口调用示例
this.$bridge
.shareMsg(params)
.then(res => {
this.$alert(res)
})
.catch(err => {
this.$toast(err)
})
浙公网安备 33010602011771号