
1 liyang5945 2021-03-30 12:11:22 +08:00 router.push( ... ) router.repalce( ... ) |
2 togou 2021-03-30 12:33:19 +08:00 父页面放 router-view 然后父页面路由里面放相应的子组件的两个路由 { path:/test comp.... father.vue chilrder:[ {path:/xxx comp... child1 .vue } {xxx} ] } |
3 TomatoYuyuko 2021-03-30 13:38:45 +08:00 啊这,官网文档就有啊,好好看看,子路由,children 。在'/children1/page1'里触发 router.push 到'/children2' |
4 doommm 2021-03-30 14:06:41 +08:00 router-view? portal-vue? |