diff --git a/src/pages/phone/domesticDetails.vue b/src/pages/phone/domesticDetails.vue index 32bdeecc4..aa56b0568 100644 --- a/src/pages/phone/domesticDetails.vue +++ b/src/pages/phone/domesticDetails.vue @@ -2803,17 +2803,17 @@ const nowTime = new Date().getTime() this.loadingText = true if (editFileInfo.fileSuffix.toLowerCase() === 'pdf') { - if (/(iPhone|iPad|iPod|iOS)/i.test(navigator.userAgent)) { - //alert(navigator.userAgent); - this.getFileInfo(editFileInfo.id) - } else if (/(Android)/i.test(navigator.userAgent)) { - //alert(navigator.userAgent); + // if (/(iPhone|iPad|iPod|iOS)/i.test(navigator.userAgent)) { + // //alert(navigator.userAgent); + // this.getFileInfo(editFileInfo.id) + // } else if (/(Android)/i.test(navigator.userAgent)) { + // //alert(navigator.userAgent); + // this.loadingText = false + // window.open('/static/pdf/web/viewer.html?file=' + encodeURIComponent('/api/att/attFile/getFileInfo?fileId=' + editFileInfo.id)) + // } else { this.loadingText = false window.open('/static/pdf/web/viewer.html?file=' + encodeURIComponent('/api/att/attFile/getFileInfo?fileId=' + editFileInfo.id)) - } else { - this.loadingText = false - window.open('/static/pdf/web/viewer.html?file=' + encodeURIComponent('/api/att/attFile/getFileInfo?fileId=' + editFileInfo.id)) - } + // } // window.open('/#/phonePDF?fileId='+editFileInfo.id) } else { const nowTime = new Date().getTime()