按钮并不总是在ng-repeat中单击

时间:2016-03-04 22:26:28

标签: javascript jquery angularjs

我有这个ng-repeat:

<div id="container" ng-app='two_way' ng-controller='two_way_control'>
    <div ng-repeat="data in ids | orderBy:'amount'">
        <div class="row">
            <!--<div class="col s12 m6">-->
            <center>
                <div class="flipcard">
                    <div class="card blue-grey darken-1">
                        <div class="card-content white-text">
                            <p>{{data.amount}} coin wager with {{data.posted_nickname}}
                            <button ng-click="joinflip(data.id)" class="right waves-effect waves-light btn"><i class="material-icons left">games</i>Play</button>                 
                        </div>
                    </div>
                </div>
            </center>           
        </div>

    </div>
</div>

该按钮并不总是触发该功能,因为当用户被盯着它时,它会不断刷新,感谢您的帮助!

1 个答案:

答案 0 :(得分:0)

无法修复,真的很遗憾,想知道出了什么问题