How does vue-router get the active routing elements when the component is initialized?

is to get the element with router-link-active class name, which can be obtained through dom operation. I would like to ask if there is a vue method?

  created() {
    this.$nextTick(() => {
      let activeElement = document.querySelector(".router-link-active")
    })
  }

mounted () {console.log (this.$route.matched)}

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-1e8aeab-46dd6.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-1e8aeab-46dd6.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?