From c90f2a8e5d1de64018f01754fa8f1bc076f45bb0 Mon Sep 17 00:00:00 2001 From: Hakadao Date: Sat, 5 Oct 2024 01:14:02 +0800 Subject: [PATCH] fix(picture): resolve alt property not working --- src/components/Picture.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/Picture.vue b/src/components/Picture.vue index 698f0f96..a74a210f 100644 --- a/src/components/Picture.vue +++ b/src/components/Picture.vue @@ -2,7 +2,7 @@ defineProps<{ src: string loading: 'lazy' | 'eager' - alt: string + alt?: string }>() @@ -13,6 +13,7 @@ defineProps<{