作者 anyv
1 个管道 的构建 通过 耗费 0 秒

投票

... ... @@ -82,15 +82,15 @@
if(arr.length == 0){
alert('不能为空,请选择');
}else{
alert('111');
$.post("{:url('Vote/vshuang')}", {ids:ids,tid:tid}, function(data) {
if(data){
window.location.href="{:url('Vote/index')}";
}else{
alert('投票失败');
}
});
}
/* $.post("{:url('Vote/vshuang')}", {ids:ids,tid:tid}, function(data) {
if(data){
window.location.href="{:url('Vote/index')}";
}else{
alert('投票失败');
}
});*/
}
</script>
... ...