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

求惑,config的数据是如何进入到layout.html模板里面的 #159

Open
H5KYLIN opened this issue Aug 9, 2019 · 0 comments
Open

Comments

@H5KYLIN
Copy link

H5KYLIN commented Aug 9, 2019

config定义的一些配置参数。是如何在ejs的layout.html里面加载到的。我看到this.ctx.render(index, locals);locals并没有包含config数据。就是看到这里很疑惑,想问一下!

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

1 participant