给li标签添加ng-repeat指令后,ng-mouseenter="show = true" ng-mouseleave="show = false"居然不起作用,为什么啦?求解?代码如下:
<ul class="im-dropdown-ul">
<li ng-repeat='x in provinceArr' ng-mouseenter="show = true" ng-mouseleave="show = false">
<span><input type="checkbox"><span>{{x}}</span></span></li></ul><div ng-show="show">Hello!</div>
牛魔王的故事
随时随地看视频慕课网APP
相关分类