文档资料h5

This commit is contained in:
2023-08-29 13:57:25 +08:00
parent e409822f81
commit 0b26ff7122

View File

@ -87,13 +87,13 @@ export default {
};
let u = navigator.userAgent;
let isiOS = !!u.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/);
if (window.MyAppBridge) {
// if (window.MyAppBridge) {
if(isiOS){
window.webkit.messageHandlers.nativeObject.postMessage(data);
}else {
window.android.sendMessage("articleId=" + item.id);
}
}
// }
// window.location.href = `http://crm1.sino-assist.com/res/training/training.html?id=${item.id}&source=supplierApp&supplierId=${this.supplierId}&userId=${this.userId}`;
},
onRefresh() {