Rumah > Soal Jawab > teks badan
angularJs的ng-repeat循环一组<input>的控件,每个控件之间加一个字符串“xxx”,这个字符串怎么加入进去?
我想大声告诉你2017-05-15 17:07:19
<p class="list">
<p ng-repeat="item in list">
<input type="text" ng-model="item.name"/>
<span>{{item.title}}</span>
</p>
</p>
黄舟2017-05-15 17:07:19
<ng-repeat-start='item in list'></ng-repeat-start>
<span ng-bind='item.title' />
<input type='text' ng-model='item.name' />
<ng-repeat-end></ng-repeat-end>