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

包含文件传参数不支持对象 #8

Open
wxkxklmyt opened this issue Jul 24, 2020 · 1 comment
Open

包含文件传参数不支持对象 #8

wxkxklmyt opened this issue Jul 24, 2020 · 1 comment

Comments

@wxkxklmyt
Copy link

php变量也不行,必须在控制器定义变量view::assign('$title','标题');才能替换

{include file="Public/header" title="$info->title" /}
标题测试:[title]

结果
标题测试:

@shirne
Copy link

shirne commented Apr 24, 2021

刚好我也有这个想法。我提交一下pr 看作者通不通过

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