mxx 3 년 전
부모
커밋
e4f919b99e
1개의 변경된 파일4개의 추가작업 그리고 4개의 파일을 삭제
  1. 4 4
      public/static/inspection.html

+ 4 - 4
public/static/inspection.html

@@ -324,10 +324,10 @@
         console.log(_data)
         this.tableData = JSON.parse(_data)
         console.log(this.tableData)
-        // window.print()
-        // window.onafterprint = function(event) {
-        //   window.history.back(-1)
-        // };
+        window.print()
+        window.onafterprint = function(event) {
+          window.history.back(-1)
+        };
       },
       watch: {}
     })