Angular2 RouterLink breaks routes by replacing slash with /

后端 未结 5 1081
失恋的感觉
失恋的感觉 2020-12-03 22:11

Since the latest Angular2 version (2.0.0-beta.14) it is possible to have query parameters that contain multiple slashes, like /foo/bar.

This works great, however whe

5条回答
  •  遥遥无期
    2020-12-03 22:31

    If the path was something like

    pathServedByTheController = 'foo/bar'
    

    then in the view I can do something like

    
    

    This works nicely to me!

提交回复
热议问题