|
@@ -83,10 +83,10 @@ export default {
|
|
|
openDocument() {
|
|
|
let url = this.$method.splitImgHost(this.fileInfo.url);
|
|
|
// #ifdef H5
|
|
|
- window.location.href = url;
|
|
|
- // uni.navigateTo({
|
|
|
- // url: `/pages/webview/sdlink?url=` + url,
|
|
|
- // });
|
|
|
+ // window.location.href = url;
|
|
|
+ uni.navigateTo({
|
|
|
+ url: `/pages/webview/sdlink?url=http://192.168.1.57:8080/?src=https%3A%2F%2Ffile-dev.xyyxt.net%2Foss%2Fimages%2F16825677098141789605970.pdf`,
|
|
|
+ });
|
|
|
// #endif
|
|
|
// #ifdef MP-WEIXIN
|
|
|
this.downLoading = true;
|