ionic 里加入alert警告框,导致多次触发该点击事件

var confirmPopup = $ionicPopup.confirm({// title: 'Consume Ice Cream',template: '确定要把 ['+_n+'] 从购物车移除吗?',

buttons: [  

{ text: "",  取消

onTap:function(e){ 

    return;  } 

 },  {text: '

确定

',  onTap:function(e){ 

   }  }]

  });

你可能感兴趣的:(ionic 里加入alert警告框,导致多次触发该点击事件)