有没有在JS中有方法将逻辑运算符合并到标准的handlebars.js条件运算符?像这样的东西:
{{#if section1 || section2}}
.. content
{{/if}}
、我不想重复发明。
相似问题