<label class="item item-input"> <button class="button smsbutton" ng-click="getPhoneSms()" ng-show="getSms">获取验证码</button> </label>
The ng-click event of such a button is invalid
欢迎选择我的课程,让我们一起见证您的进步~~
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
Post the controller code and take a look
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
Post the controller code and take a look