fix type warnings of MkCaptcha
This commit is contained in:
parent
b59186f093
commit
c1155f169a
1 changed files with 2 additions and 1 deletions
|
@ -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));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue