lilei 3 vuotta sitten
vanhempi
commit
f228fd7d66
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      src/libs/JGPrint.js

+ 1 - 1
src/libs/JGPrint.js

@@ -38,9 +38,9 @@ export const JGPrint = function(data, type, printerType){
       LODOP.PRINT()
     }
   } else {
+    // 喷墨打印
     const url = window.URL.createObjectURL(new Blob([data], { type: 'application/pdf' }))
     document.getElementById('print').innerHTML = '<iframe id="printfsqd" name="printfsqd" src="' + url + '" hidden></iframe>'
-    // 喷墨打印
     if (type == 'preview') { //  预览
       window.open(url)
     } else if (type == 'print') { //  打印