此路线配置
URL: http://server.com/index.html#/Chapter/1/Section/2?search=moby
Route: /Chapter/:chapterId/Section/:sectionId
会导致:{chapterId:'1', sectionId:'2', search:'moby'}
但是,是否有可能通过以下方式收集对象$routeParams
:
[
{chapterId:'1', sectionId:'2', search:'moby'},
{chapterId:'1', sectionId:'5', search:'mobydick'}
]
实现它的路由配置是什么?