JS与Android IOS 交互

//首先判断IOS的webview是否存在该方法 if(typeof iOScheckOrder === 'function'){ iOScheckOrder(result);//调用ios }else if(window.orderId){//判断Android的对象是否存在   window.orderId.orderIdCallAndroid(result);//调用对象所对应的方
相关文章
相关标签/搜索