角度定制路由器

时间:2018-12-03 19:40:26

标签: angular angular-router

如何在角度中使用树路线?

例如,旧版后端REQUEST_URI中的URL被解析为controller / action / params

/tree/level1 => [controller: tree, action: index, path: level1] /tree/level1/level2 => [controller: tree, action: index, path: level1/level2] /tree/level1/level2/pictures => [controller: tree, action: pictures, path: level1/level2]

但是我找不到在角形铣削中做到这一点的方法。

0 个答案:

没有答案