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
new MyWidget({ template: '#indexTopCommentTpl', //这个模板因为列表是空的,返回 '' model:model, parentNode: '#indexTopComment' }).render(); var MyWidget = widget.extend({ Implements: templatable });
上面的代码因为 返回了'' 所以,后面的处理会出错
template
虽然防错了,我觉得还是应该没有内容就没有内容,而不是出错.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
上面的代码因为 返回了'' 所以,后面的处理会出错
template
虽然防错了,我觉得还是应该没有内容就没有内容,而不是出错.
The text was updated successfully, but these errors were encountered: