Article From:https://segmentfault.com/q/1010000011132178
Question:


I found that if I had $mount running initially, it would have been displayed correctly in devtool, and if it had been running, the triggered $mount would not have been able to display the component.

Answer 0:

Manually mounted components do not seem to be displayed in devtool, and I have encountered this problem.

Answer 1:

$mount This method is executed after mounting, $mount does not trigger page updates, so it does not mount
The document lifecycle is illustrated

Leave a Reply

Your email address will not be published. Required fields are marked *