튜표 수정정
This commit is contained in:
parent
e30c58c343
commit
1e50403e57
@ -88,7 +88,9 @@ const updateCheckedNames = (newValues) => {
|
||||
checkedNames.value = newValues;
|
||||
};
|
||||
const selectVote = () =>{
|
||||
emit('checkedNames',checkedNames.value);
|
||||
if(checkedNames.value != ''){
|
||||
emit('checkedNames',checkedNames.value);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -40,7 +40,6 @@ const emit = defineEmits(["update:selectedValues"]);
|
||||
const handleChange = (event) => {
|
||||
const value = event.target.value;
|
||||
let updatedValues = [];
|
||||
|
||||
// 체크박스일 때 여러 개 선택 가능
|
||||
if (props.multiIs === "1") {
|
||||
updatedValues = event.target.checked
|
||||
|
||||
Loading…
Reference in New Issue
Block a user