diff --git a/pages/index/index.vue b/pages/index/index.vue index 131339f..5788bb9 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -46,11 +46,10 @@ 网页版地址:https://h5-invoice.sxczgkj.cn - - - - + --> + diff --git a/pages/webview/webview.vue b/pages/webview/webview.vue index 99b2a89..163ad50 100644 --- a/pages/webview/webview.vue +++ b/pages/webview/webview.vue @@ -23,11 +23,12 @@ method: 'POST', //请求方式,必须为大写 success: res => { let fileUrl = options.url - this.url = 'https://www.pfile.com.cn/api/profile/onlinePreview?url=' + - encodeURIComponent(res.data.data); + // this.url = 'https://www.pfile.com.cn/api/profile/onlinePreview?url=' + + // encodeURIComponent(res.data.data); + // this.url = 'https://view.officeapps.live.com/op/view.aspx?src=' + res.data.data // console.log(this.url) - // window.open('https://view.officeapps.live.com/op/view.aspx?src=' + res.data.data) + window.open(res.data.data) } });