Double condition with #if
问题 How to do a double condition {{#if person && work}} ? The && seems not a valid operator 回答1: I don't believe handlebars supports multiple items in the {{#if}} statement (related: Logical operator in a handlebars.js {{#if}} conditional). You could collapse the multiple values in your controller/view into a single computed property and check that single value in the template. This new computed property will update when either of the original values update: App.ValuesTestController = Ember