Vue dynamic routes cannot match

is a very common requirement. Click on an item to jump to the corresponding details page, but cannot jump, and vue-router does not report an error. It is really unable to find the reason. It is very strange

. < hr >


< hr >
//select-miners.vue
//
methods: {
  goToDetail(item) {
      this.$router.push({
        path: `/select-miners/${item.minerNo}`
      })
    }
}

I wonder why you can"t jump to a child route by clicking. I would like to ask all the little brothers and sisters to take a look at it. Thank you in advance!

Mar.11,2021

I am like this
routing:

`{
path:'/ resourseTotalDetail/:id',
name:'resourseTotal_detail',
component: ResourseTotal_detail,
meta: {index:2},
},`

Page:

<router-link :to="'resourseTotalDetail/'+item.id"></router-link>

Jump page:

watch: {
    '$route': function () {
        this.personId = this.$route.params.id;//id
    }
}

has it been solved?


have you solved it?

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