扫码关注官方订阅号
<p ng-if="info.times>0">重新发送验证码(<span ng-model="info.times">{{info.times}}</span>)</p>
为什么{{info.times}}数值一直是60不变呢,我打印的数值一直是减少的呀。(用console.log()打印了)
光阴似箭催人老,日月如移越少年。
ng-model是加在表单元素上的,可以直接这样写<span>{{info.times}}</span>
controller中的代码呢?
微信扫码关注PHP中文网服务号
QQ扫码加入技术交流群
扫描下载App
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
PHP学习
技术支持
返回顶部
ng-model是加在表单元素上的,可以直接这样写<span>{{info.times}}</span>
controller中的代码呢?