feat: use useImages composable instead of <img> + useTemplateRef
This commit is contained in:
@@ -65,4 +65,8 @@ const handleKeyDown = (e: KeyboardEvent) => {
|
||||
|
||||
onMounted(() => window.addEventListener("keydown", handleKeyDown));
|
||||
onUnmounted(() => window.removeEventListener("keydown", handleKeyDown));
|
||||
|
||||
defineOptions({
|
||||
render: () => null,
|
||||
});
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user