From 4378226ae6beff879552da94b001a686c6a3bbf7 Mon Sep 17 00:00:00 2001 From: Hooray <304327508@qq.com> Date: Mon, 7 Apr 2025 16:21:43 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E5=A4=9A=E4=B8=AA=E5=86=85=E5=BB=BA?= =?UTF-8?q?=E7=BB=84=E4=BB=B6=E6=B7=BB=E5=8A=A0=20`defineOptions`=20?= =?UTF-8?q?=E4=BB=A5=E8=AE=BE=E7=BD=AE=E7=BB=84=E4=BB=B6=E5=90=8D=E7=A7=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/ui/components/FaAvatar/index.vue | 4 ++++ src/ui/components/FaSlider/index.vue | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/src/ui/components/FaAvatar/index.vue b/src/ui/components/FaAvatar/index.vue index de80b716..d3208d40 100644 --- a/src/ui/components/FaAvatar/index.vue +++ b/src/ui/components/FaAvatar/index.vue @@ -3,6 +3,10 @@ import type { HTMLAttributes } from 'vue' import type { AvatarVariants } from './avatar' import { Avatar, AvatarFallback, AvatarImage } from './avatar' +defineOptions({ + name: 'FaAvatar', +}) + const props = defineProps<{ src: string fallback?: string diff --git a/src/ui/components/FaSlider/index.vue b/src/ui/components/FaSlider/index.vue index b51391c3..83ff09f3 100644 --- a/src/ui/components/FaSlider/index.vue +++ b/src/ui/components/FaSlider/index.vue @@ -3,6 +3,10 @@ import type { SliderRootProps } from 'reka-ui' import type { HTMLAttributes } from 'vue' import { Slider } from './slider' +defineOptions({ + name: 'FaSlider', +}) + const props = withDefaults(defineProps<{ defaultValue?: SliderRootProps['defaultValue'] disabled?: SliderRootProps['disabled']