<label class="item item-input">
<button class="button smsbutton" ng-click="getPhoneSms()" ng-show="getSms">获取验证码</button>
</label>
这样的button 的ng-click事件失效
天蓬老师2017-05-15 17:00:05
ng-click fails, you need to check if there is something wrong with your controller. Is the above code in the controller? The failure of ng-click() has nothing to do with whether it is placed in LABEL