Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

其他不懂的 #1

Open
AlexLWT opened this issue Aug 24, 2020 · 0 comments
Open

其他不懂的 #1

AlexLWT opened this issue Aug 24, 2020 · 0 comments

Comments

@AlexLWT
Copy link

AlexLWT commented Aug 24, 2020

静态的看懂了 不过我想知道th模板能不能访问非静态的方法?
或者调用控制器中的方法或地址?
比如我在某个类添加了一个获取列表数据的方法,我希望在每个页面都能通过模板引擎调用这个方法
我应该怎么做

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant