谢杰标 2 년 전
부모
커밋
44daa4922e
1개의 변경된 파일4개의 추가작업 그리고 4개의 파일을 삭제
  1. 4 4
      components/course/handoutsTree.vue

+ 4 - 4
components/course/handoutsTree.vue

@@ -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;