Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

在page-layout.vue组件中,定义了两个<router-view> #49

Closed
cqmking opened this issue Apr 4, 2022 · 1 comment · Fixed by #59
Closed

在page-layout.vue组件中,定义了两个<router-view> #49

cqmking opened this issue Apr 4, 2022 · 1 comment · Fixed by #59

Comments

@cqmking
Copy link

cqmking commented Apr 4, 2022

Basic Info

What is expected?

根据定义的路由层级,正常显示组件

Steps to reproduce

在page-layout.vue组件中,定义了两个router-view 。导致做路由配置的时候需要配置多个层级才能显示
在 src/views/dashboard/index.vue 中也定义了一个router-view,当我需要在其中增加自定义内容,显示一些额外的信息时,发现不生效。

@sHow8e
Copy link
Member

sHow8e commented Apr 6, 2022

@cqmking 嵌套多层当时是参照了官方文档的处理。现在线上文档出现了变更。我这边需要去看一下router的文档以及更新内容再进行处理哈。3q

@sHow8e sHow8e linked a pull request Apr 26, 2022 that will close this issue
12 tasks
@sHow8e sHow8e closed this as completed Apr 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants