想點擊導航菜單后,在URL中直接“http://localhost:8080/#/info/list?type=1”這樣的URL是不是不行?路由規則如下設置{path:'/info',name:'信息',component:Layout,menu:true,children:[{path:'/info/list?type=1',menu:true,name:'成功',component:()=>import('@/views/info/list')},{path:'/info/list?type=2',menu:true,name:'失敗',component:()=>import('@/views/info/list')}]},
后臺路由設置問題
慕村9548890
2019-06-18 10:07:07