new changes
This commit is contained in:
@@ -5,7 +5,7 @@ type Props = {
|
||||
modelValue: boolean;
|
||||
};
|
||||
|
||||
type Emit = {
|
||||
type Emits = {
|
||||
"update:modelValue": [value: boolean];
|
||||
};
|
||||
|
||||
@@ -17,7 +17,7 @@ const { modelValue } = toRefs(props);
|
||||
|
||||
// emit
|
||||
|
||||
const emit = defineEmits<Emit>();
|
||||
const emit = defineEmits<Emits>();
|
||||
|
||||
// computed
|
||||
|
||||
|
||||
Reference in New Issue
Block a user