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

功能增强 #32

Open
scsfwgy opened this issue Mar 18, 2022 · 5 comments
Open

功能增强 #32

scsfwgy opened this issue Mar 18, 2022 · 5 comments

Comments

@scsfwgy
Copy link

scsfwgy commented Mar 18, 2022

  1. 建议Router类新增备注字段,主要用于备注信息,方便非开发人员理解,无实际逻辑应用。
  2. 能否可以自动生成路由文档?有这方面的需求。
@weigao123
Copy link
Collaborator

weigao123 commented Mar 22, 2022

1的话可以在类上面手动//注释,增加非强制字段如果开发人员不用我理解也没有用吧
2是什么意思,能详细说说吗?

@scsfwgy
Copy link
Author

scsfwgy commented Mar 22, 2022

其实1和2可以理解为一个,将路由信息生成一个md或者json的文档,比如包含:完整类路径、路由路径、参数信息、路由类型、备注信息等。这个文档开发人员可以看,运营人员也可以的。比如运营想要配置跳转哪个页面,参考这个文档就好了。
参考ARouter:https://github.com/alibaba/ARouter/blob/452297cef567838238571c181189d17d92847aa4/README_CN.md?plain=1#L498

@like5188
Copy link

+1

1 similar comment
@XuJhin
Copy link

XuJhin commented Jun 6, 2022

+1

@gaolei3347
Copy link

result.getFragment() 为空 是啥原因

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

No branches or pull requests

5 participants