|
@@ -22,7 +22,9 @@ export function shareToOthers (options: any = {}) {
|
|
// app分享
|
|
// app分享
|
|
try {
|
|
try {
|
|
// options.type--1微信分享,2qq分享,3朋友圈分享
|
|
// options.type--1微信分享,2qq分享,3朋友圈分享
|
|
- JyObj.share(options.type, options.title, options.content, options.link, '剑鱼标讯需申请存储权限、电话权限,以便您能顺利参与分享有礼活动,将招标信息、文库内容成功分享到社交平台。')
|
|
|
|
|
|
+ if (typeof (window as any).__compatibleAppFn === 'function') {
|
|
|
|
+ ;(window as any).window.__compatibleAppFn(JyObj.share, options.type, options.title, options.content, options.link, '剑鱼标讯需申请存储权限、电话权限,以便您能顺利参与分享有礼活动,将招标信息、文库内容成功分享到社交平台。')
|
|
|
|
+ }
|
|
} catch (error) {
|
|
} catch (error) {
|
|
console.log(error)
|
|
console.log(error)
|
|
}
|
|
}
|