<p ng-if="info.times>0">Resend verification code(<span ng-model="info.times">{{info.times}}</span> )</p>
Why does the value of {{info.times}} remain unchanged at 60, while the value I print keeps decreasing. (Printed using console.log())
光阴似箭催人老,日月如移越少年。
ng-model is added to the form element, you can write directly like this <span>{{info.times}}</span>
What about the code in the controller?
ng-model is added to the form element, you can write directly like this <span>{{info.times}}</span>
What about the code in the controller?