文档资料h5
This commit is contained in:
@ -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() {
|
||||
|
Reference in New Issue
Block a user