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

init内全局代码不生效 #11

Closed
descartes16 opened this issue Sep 18, 2019 · 2 comments
Closed

init内全局代码不生效 #11

descartes16 opened this issue Sep 18, 2019 · 2 comments

Comments

@descartes16
Copy link

将init内容移动至模板内可生效,但是放在init内却无作用,求教原因,已尝试了各种办法都不行

@makejavas
Copy link
Owner

需要在使用init的模板头部加上$init

@descartes16
Copy link
Author

解决了,谢谢提醒

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