在某个组件异步获取的数据,渲染之后,点击浏览器的打印功能,所有异步数据都没在打印上显示出来。
print() {
//this.showTable = true
// let self = this
setTimeout(function() {
window.print()
// self.autoBack(self)
console.log(5000)
}, 1000)
},