From 027380c013e92c78d895f7f7a1056a11044b7986 Mon Sep 17 00:00:00 2001 From: syuilo Date: Fri, 1 Oct 2021 19:32:16 +0900 Subject: [PATCH] fix bug --- src/client/components/captcha.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/client/components/captcha.vue b/src/client/components/captcha.vue index 5da8ede3b..baa922506 100644 --- a/src/client/components/captcha.vue +++ b/src/client/components/captcha.vue @@ -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); }, }, });