wangxy 2 giorni fa
parent
commit
e7830fb13c
1 ha cambiato i file con 3 aggiunte e 3 eliminazioni
  1. 3 3
      pages/pdfPage/pdfPage.vue

+ 3 - 3
pages/pdfPage/pdfPage.vue

@@ -19,9 +19,9 @@
     httpApi.getPDFUrl({
       banben,
       nianji,
-    }).then(url => {
-      httpUrl.value = url;
-      pdfUrl.value = '/hybrid/html/web/viewer.html?file=' + encodeURIComponent(url);
+    }).then(res => {
+      httpUrl.value = res.data;
+      pdfUrl.value = '/hybrid/html/web/viewer.html?file=' + encodeURIComponent(res.data);
     })
 	}