search

Home  >  Q&A  >  body text

javascript - What's wrong with my loop here?

How did it end up like this?

为情所困为情所困2742 days ago856

reply all(2)I'll reply

  • 仅有的幸福

    仅有的幸福2017-06-17 09:17:42

    Normally, ng-value is used to bind the value, such as
    <option ng-model="x.isCheck" ng-value="x.id" name="{{x.id}}" ng-repeat=" x in orgNamelist"><option>
    can also be used

    <select ng-model="now" ng-options="x in orgNamelist"></select>

    reply
    0
  • 高洛峰

    高洛峰2017-06-17 09:17:42

    Did I make a mistake with the variable?

    reply
    0
  • Cancelreply