Can the parameters passed by router-link be obtained in vue-router? How do I get the parameters if I can?

[question]: the interface passes parameters in the form of router-link. In vue-router/index.js routing, I want to get this parameter. Can I get it? How do I get it? (not in the next interface, but in the route)
[description]: I tried the form of this.$route.query.name and found that I couldn"t get
[Code]:

x.vue
<router-link :to="{path:"/account/modify", query:{name: item.name}}"></router-link>

router/index.js
 props: {
    header: {
      title: this.$route.query.name,
      ...
    }
  }
  

header.vue

export default {
    props: [...,"title",...],
    ...
}

[error prompt]:

clipboard.png

excuse me, ladies and gentlemen, how can I get the parameters passed in vue-router?
Note: other methods can be obtained through this.$route.query.name in the target interface, but at present I just want to know how to get them. Since I have just entered the hole, I would like to try several more ways

Mar.22,2021

beforeRouteEnter (to, from, next) {
  
}
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-1e4d5b7-44f06.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-1e4d5b7-44f06.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?