1

如何activeClass(key)使用 AngularJs 将“密钥”传递给方法?

<li ng-class="activeClass(key)" ng-repeat="(key, data) in bigData">
    <label>{{data.label}}
        <input type="radio" name="market" value="{{key}}" ng-model="myModel">
    </label>
</li>
4

0 回答 0