<label class="item item-input">
<button class="button smsbutton" ng-click="getPhoneSms()" ng-show="getSms">獲取驗(yàn)證碼</button>
</label>
The ng-click event of such a button is invalid
歡迎選擇我的課程,讓我們一起見證您的進(jìn)步~~
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