What is the problem that the function executed by vue cannot be called without the component?

clipboard.png

the official website says that this is the function called after destroying the vue instance. Mine just left the routing interface and did not call it. This is because no vue scaffolding generated only one root instance that destroyed the page. Is there any way to call the function when leaving the vue component

?

beforeRouteLeave hook
see ide/advanced/navigation-guards.html-sharp%E7%BB%84%E4%BB%B6%E5%86%85%E7%9A%84%E5%AE%88%E5%8D%AB" rel=" nofollow noreferrer "> vue-router document

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1ea9240-1f30.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1ea9240-1f30.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?