mirror of
https://github.com/r-ca/kidshift-web.git
synced 2024-10-25 16:34:01 +00:00
チェックボックスの状態をemitで親にバケツリレーするように
This commit is contained in:
parent
7788508af5
commit
2eacb07ac6
|
@ -16,9 +16,10 @@ interface Props {
|
||||||
}
|
}
|
||||||
|
|
||||||
const props = defineProps<Props>();
|
const props = defineProps<Props>();
|
||||||
|
const emit = defineEmits(['containPaid:checked']);
|
||||||
|
|
||||||
const handleContainPaidCheckbox = (value: boolean) => {
|
const handleContainPaidCheckbox = (value: boolean) => {
|
||||||
console.log(value);
|
emit('containPaid:checked', value);
|
||||||
};
|
};
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user