This commit is contained in:
syuilo 2021-10-01 19:32:16 +09:00
parent a73a787753
commit 027380c013

View file

@ -39,7 +39,7 @@ export default defineComponent({
type: String,
required: true,
},
value: {
modelValue: {
type: String,
},
},
@ -116,7 +116,7 @@ export default defineComponent({
}
},
callback(response?: string) {
this.$emit('update:value', typeof response == 'string' ? response : null);
this.$emit('update:modelValue', typeof response == 'string' ? response : null);
},
},
});