mirror of
https://github.com/fantastic-admin/basic.git
synced 2026-10-07 07:33:32 +08:00
chore: 多个内建组件添加 defineOptions 以设置组件名称
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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']
|
||||
|
||||
Reference in New Issue
Block a user