We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
正在试用artTemplate,增加辅助方法 调用: template.helper('$toDate', function (content) { return content; }); var html = template.render('category_t', data); $("#Items").html(html); 模版: <%= $toDate(list[i].update_time)%>
输出: {Template Error}
The text was updated successfully, but these errors were encountered:
模板写错了:目测右边有个中文括号。 另外开启浏览器控制台可以看到具体错误信息
Sorry, something went wrong.
No branches or pull requests
正在试用artTemplate,增加辅助方法
调用:
template.helper('$toDate', function (content) {
return content;
});
var html = template.render('category_t', data);
$("#Items").html(html);
模版:
<%= $toDate(list[i].update_time)%>
输出:
{Template Error}
The text was updated successfully, but these errors were encountered: