투표 컨펌펌

This commit is contained in:
khj0414 2025-04-08 15:49:59 +09:00
parent 8c7b82d0ae
commit 3c54cea558

View File

@ -152,6 +152,7 @@ const voteEnded = async (id) =>{
} }
// //
const voteDelete =(id) =>{ const voteDelete =(id) =>{
if(confirm('투표를 삭제 하시겠습니까?')){
$api.patch('vote/updateDeleteData',{ $api.patch('vote/updateDeleteData',{
deleteVoteId :id deleteVoteId :id
}).then((res)=>{ }).then((res)=>{
@ -161,6 +162,7 @@ const voteDelete =(id) =>{
} }
}) })
} }
}
// 1 // 1
const randomList = (data,id) =>{ const randomList = (data,id) =>{
$api.post('vote/randomList',{ $api.post('vote/randomList',{