亚洲国产日韩欧美一区二区三区,精品亚洲国产成人av在线,国产99视频精品免视看7,99国产精品久久久久久久成人热,欧美日韩亚洲国产综合乱

angular.js - Why can't button be placed in the label label of angular ionic?
天蓬老師
天蓬老師 2017-05-15 16:58:05
0
2
597
<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)步~~

reply all(2)
Peter_Zhu

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

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template