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

路由全部从后台动态获取,路由中meta字段不生效。 #222

Closed
java8site opened this issue Apr 28, 2019 · 6 comments
Closed

路由全部从后台动态获取,路由中meta字段不生效。 #222

java8site opened this issue Apr 28, 2019 · 6 comments
Labels
question Further information is requested

Comments

@java8site
Copy link

路由组成的json, meta不生效。

@java8site java8site added the question Further information is requested label Apr 28, 2019
@sendya
Copy link
Member

sendya commented Apr 28, 2019

路由信息由你构建的,如果不生效请你检查一下生成后的结果。
如果是不会动态构建路由,可以参考分支 feature/dynamic-menu

如果你是要反馈问题,请参照 #90

@java8site
Copy link
Author

路由信息由你构建的,如果不生效请你检查一下生成后的结果。
如果是不会动态构建路由,可以参考分支 feature/dynamic-menu

如果你是要反馈问题,请参照 #90

返回的json信息和文档中定义的都一样。dynamic-menu项目中从后台获取的路由信息中都没有meta字段呀。dynamic-menu和ant-design-pro-vue文档中路由的定义,各个字段是否都相同???

@sendya
Copy link
Member

sendya commented Apr 28, 2019

你可以自己对比以下

@java8site
Copy link
Author

你可以自己对比以下

meta字段相关, 以及设置外链接,就是点击跳转到其他网站。这都在哪几个文件呀。求指教。

@sendya
Copy link
Member

sendya commented Apr 28, 2019

没有哪几个文件,这就是一个普通的路由配置项,由你构建的。并不存在什么文件

@sendya sendya closed this as completed May 13, 2019
@jianshen-weo
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants