fix type warnings of MkCaptcha

This commit is contained in:
Lhcfl 2024-04-10 20:42:48 +08:00
parent b59186f093
commit c1155f169a
1 changed files with 2 additions and 1 deletions

View File

@ -50,7 +50,7 @@ const props = defineProps<{
}>();
const emit = defineEmits<{
(ev: "update:modelValue", v: string | null): void;
"update:modelValue": [v: string | null];
}>();
const available = ref(false);
@ -93,6 +93,7 @@ if (loaded) {
src: src.value,
}),
)
// biome-ignore lint/suspicious/noAssignInExpressions: assign it intentially
).addEventListener("load", () => (available.value = true));
}