0
我需要使用and
通過多個屬性進行過濾。我怎麼會做這樣的事情在角:如何使用「and」或「or」過濾器
ng-options="item.licenseName for item in licenses | filter: {centerId: selectedLocation.centerId and selectedLocation.state is not null}"></select>
通知and selectedLocation.state is not null
末。我如何添加功能像這樣的角度。
任何理由使用過濾,而不是實現'_lodash'風格過濾自定義過濾器? –