-
Notifications
You must be signed in to change notification settings - Fork 107
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
支持路由嵌套么? #13
Comments
多层级是支持的,q.js 不关注回调之后的事情 |
没有看见相关的资料 |
那需要在回调内针对传入参数对DOM进行修改 加了一个例子 |
你好,我看了你给的例子,我的意思是这样: |
如果 view 内容完全不同 你可以用正则表达式匹配 正则表达式匹配优先于普通匹配 |
/ -》 / 手机端发布会少一个反斜杠 |
/ 替换成 \/ |
我用正则转换了/斜线,但是注册的 home/menu 不执行,求解 |
是这样的,这里需要用正则表达式 而不是字符串形式
|
比如2个层级以上的路由
The text was updated successfully, but these errors were encountered: