I want to have a route like this.
http://localhost:8080/help/category/newuser#1 Therefore, I write this in my template
<router-link v-bind:to="{ name: 'help', params: { id: selectedCategory+'#'+eachQuestion.id }, }" > But this doesn't work and resulting in
http://localhost:8080/help/category/newuser%231 So the # turns into %23. How to solve this? Thanks!
没有评论:
发表评论