瀏覽代碼

修改环境

shuhao 4 月之前
父節點
當前提交
7e750d1c9b
共有 1 個文件被更改,包括 4 次插入6 次删除
  1. 4 6
      src/views/authentic/Pdf.vue

+ 4 - 6
src/views/authentic/Pdf.vue

@@ -126,12 +126,10 @@ const closeDialog = (key) => {
   }
   emit("closeDialog", "pdf");
 };
-function toImg(show) {
-  let canvas = pdfMap.kmap.map.getViewport().querySelector('canvas')
-  let dataURL = canvas.toDataURL('image/webp');
-  // if(show){
-    imgUrl.value = dataURL;
-  // }
+function toImg() {
+  // let canvas = pdfMap.kmap.map.getViewport().querySelector('canvas')
+  // let dataURL = canvas.toDataURL('image/webp');
+  //   imgUrl.value = dataURL;
 }