Skip to content

Alias does not support nested routes #987

Closed
@lifeforfun

Description

@lifeforfun

Demo is here: codepen
Component /a/add has an alias /a/edit but its children does not inherit its alias like /a/edit/campaign/a/edit/ad_group/a/edit/keyword . They only has their default path /a/add/campaign/a/add/ad_group/a/add/keyword

My english doesn't well, so I translate it into Chinese in case of viewer can not understand.
中文版(如果上面的没看明白请看下面的解释)
组件指定了别名后其子组件并没有继承这个别名,比如路由**/a/下的子路由add** 指定了别名为edit, 然后add路由下又有子路由campaignad_groupkeyword. 这三个路由并没有继承路由add添加的这个别名,即**/a/edit/campaign**、/a/edit/ad_group/a/edit/keyword

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions