openApp() {
const options = {
scheme: {
protocol: 'weixin' //URL Scheme 的 scheme 字段,要打开的 APP 的标识
},
intent: { //安卓原生谷歌浏览器必须传递 Intent 协议地址,才能唤起 APP
package: 'com.tencent.mm',//腾讯微信包名
scheme: 'weixin'
},
timeout: '2000',
appstore: location.href, //APP 的 App Store
yingyongbao: location.href, //APP 的应用宝地址,
fallback: location.href //唤端失败后跳转的地址。
};
const callLib = new CallApp(options);
callLib.open({
path: "",
param: {}//要传递的参数
})
}