4

我有一些具有自己实现的控制器类。是否可以将一个插入另一个作为视图组中的视图?

4

1 回答 1

5

是的,这就是子控制器。从自述文件:

getChildRouter can be called on a Controller in order to get a nested Router into which child Controllers can be pushed. This enables creating advanced layouts, such as Master/Detail.

于 2017-07-14T14:02:00.810 回答