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

#include("./layout/top.html") 引入子页面,能传入参数进去吗? #19

Open
caihuattkl opened this issue Oct 30, 2018 · 1 comment

Comments

@caihuattkl
Copy link

#include("./layout/top.html") 引入子页面,能传入参数进去吗?

比如:
#include("./layout/top.html",{title:"这是页面a"})

这样能传参数进去。在多页应用的时候很有用处

@XBC-BigSun
Copy link

怎么取值啊,

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

2 participants