such as the question, it has been monitored in main.js and created,mounted at present, but there is no response.
setTimeout (function () {throw new Error}, 1000). If a new error is delayed after one second, the error event will respond. Now I have an error as follows:
this error pops up a second after logging in, but it is not monitored. How can it be monitored?
do not use try {} catch