mirror of
https://github.com/fawney19/Aether.git
synced 2026-01-03 08:12:26 +08:00
refactor(frontend): 优化 UI 基础组件
- 添加默认 class 属性支持 - 改进组件类型定义 - 优化属性配置
This commit is contained in:
@@ -35,8 +35,12 @@ interface Props {
|
||||
}
|
||||
|
||||
const props = withDefaults(defineProps<Props>(), {
|
||||
class: undefined,
|
||||
position: 'popper',
|
||||
side: undefined,
|
||||
sideOffset: 4,
|
||||
align: undefined,
|
||||
alignOffset: undefined,
|
||||
})
|
||||
|
||||
const contentClass = computed(() =>
|
||||
|
||||
Reference in New Issue
Block a user