0👍
Maybe you could try putting it inside async timeout:
setTimeout(function() {
window.print();
}, 0);
- [Vuejs]-Database output blank when querying using leading "0"
- [Vuejs]-Prevent Vuejs application from rewriting URL
Source:stackexchange.com