Angularjs 为什么单选按钮需要点击两次才能被选中? {{问题.问题} {{choice.choice}
它应该只单击一次才能被选中,但需要单击两次才能被选中。您希望单击两次还是两次?请编辑您的标题以提问。这将消除你现在的模棱两可。不要在上面贴标签。它应该只被点击一次才能被选中,但需要点击两次才能被选中。Angularjs 为什么单选按钮需要点击两次才能被选中? {{问题.问题} {{choice.choice},angularjs,ionic-framework,Angularjs,Ionic Framework,它应该只单击一次才能被选中,但需要单击两次才能被选中。您希望单击两次还是两次?请编辑您的标题以提问。这将消除你现在的模棱两可。不要在上面贴标签。它应该只被点击一次才能被选中,但需要点击两次才能被选中。 <div ng-repeat="question in questions"> <h4 style="width:100%">{{question.question}}</h4> <ion-list ng-repeat="choice
<div ng-repeat="question in questions">
<h4 style="width:100%">{{question.question}}</h4>
<ion-list ng-repeat="choice in choices"
ng-show="{{question.id}}=={{choice.question_id}}">
<ion-radio style="width:100%; float:left;"
name="{{question.id}}"
ng-value="{{choice.point}}"
ng-Model="test[question.id-1]">
{{choice.choice}}
</ion-radio>
</ion-list>
</div>