本系列博文包含 h5全栈 java全栈Python基础、前端开发、Web框架、缓存以及队列等,希望可以给正在学习编程的童鞋提供一点帮助!!!

删除前端的操作

$scope.selectIds=[];

 

$scope.updateSelection = function($event, id) {

if($event.target.checked){

$scope.selectIds.push( id);

}else{

var idx = $scope.selectIds.indexOf(id);

         $scope.selectIds.splice(idx, 1);

}

}  

 

$scope.dele=function(){

 

$http.get('../brand/delete.do?ids='+$scope.selectIds).success(

function(response){

if(response.success){

$scope.reloadList();

}

}

);

}

posted on 2019-09-15 20:10  李俊互联网技术传播者  阅读(556)  评论(0编辑  收藏  举报