|
@@ -885,12 +885,12 @@ export default {
|
|
|
let textArea = win.document.getElementsByTagName('textarea')
|
|
|
for (let i = 0; i < textArea.length; i++) {
|
|
|
textArea[i].style.height = 'auto' // 先设置成auto,再设置高度,删除文字的时候高度才会改变
|
|
|
- textArea[i].style.height = textArea[i].scrollHeight+30 + 'px'
|
|
|
+ textArea[i].style.height = textArea[i].scrollHeight+100 + 'px'
|
|
|
}
|
|
|
win.print();
|
|
|
win.close();
|
|
|
- this.showSelect = 0
|
|
|
},500)
|
|
|
+ this.showSelect = 0
|
|
|
// win.print();
|
|
|
// win.close();
|
|
|
// this.showSelect = 0
|