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
当双括号里出现类似name、 onclick、onchange、onmouseup等会报错。特别是常用的name~~ 示例代码:
var html = template.compile(` <h1>{{title}}</h1><div>{{onclick}}</div> <ul> {{each list as value i}} <li onclick="showMe('{{value}}')">索引 {{i + 1}} :{{value}}</li> {{/each}} </ul> `)({ title: '标签', list: ['文艺', '博客', '摄影', '电影', '民谣', '旅行', '吉他'], onclick: 'abc' });
[email protected]
所有浏览器
见1里的代码 。
The text was updated successfully, but these errors were encountered:
这是我提的问题,为此特意注册了账号来瞧瞧
Sorry, something went wrong.
e505498
这个 BUG 是因为兼容 v3 导致的,例如{{helperName args}}。已经删除了这个有问题的兼容语法
{{helperName args}}
No branches or pull requests
1. 错误描述
当双括号里出现类似name、 onclick、onchange、onmouseup等会报错。特别是常用的name~~
示例代码:
2. 版本号
[email protected]
3. NodeJS 或浏览器类型与版本
所有浏览器
4. 可重现的 Demo
见1里的代码 。
The text was updated successfully, but these errors were encountered: