튜표 수정정

This commit is contained in:
khj0414 2025-03-10 13:00:15 +09:00
parent e30c58c343
commit 1e50403e57
2 changed files with 3 additions and 2 deletions

View File

@ -88,7 +88,9 @@ const updateCheckedNames = (newValues) => {
checkedNames.value = newValues; checkedNames.value = newValues;
}; };
const selectVote = () =>{ const selectVote = () =>{
emit('checkedNames',checkedNames.value); if(checkedNames.value != ''){
emit('checkedNames',checkedNames.value);
}
} }

View File

@ -40,7 +40,6 @@ const emit = defineEmits(["update:selectedValues"]);
const handleChange = (event) => { const handleChange = (event) => {
const value = event.target.value; const value = event.target.value;
let updatedValues = []; let updatedValues = [];
// //
if (props.multiIs === "1") { if (props.multiIs === "1") {
updatedValues = event.target.checked updatedValues = event.target.checked