<a href="#" style="position: relative; outline: none;" ng-click="showPopover=true"> <div class="clearfix yjs-popover" ng-show="showPopover"> <h5 class="text-danger">确定要删除该事件吗?</h5> <div class="pull-right"> <button class="btn btn-link btn-sm" ng-click="showPopover=false">取消</button> <button class="btn btn-danger btn-sm" ng-click="removeEvent(data.id)">删除</button> </div> </div> <span class="glyphicon glyphicon-trash"></span> </a>
为什么按取消ng-show的那个div不消失呢?
stone310
意浓佐岸
相关分类