|
@@ -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: {}
|
|
|
})
|