background
- For example, the following 2 addresses
describe | routing | page |
---|---|---|
user list page | /user | /pages/user/user.vue |
User Details Page | /user/idxx | /pages/user/_id.vue |
用户详情页面
Want to fall back to the page when we're stuck用户列表页面
. In用户详情页面
have code like this.
<nuxt-link to="/user"> 回退 </nuxt-link>
- Clicking to discover the page does not jump.
solution
- Add any parameter
<nuxt-link to="/user?act=1"> 回退 </nuxt-link>