mirror of
https://github.com/fawney19/Aether.git
synced 2026-01-11 12:08:30 +08:00
- 将 adaptive_concurrency 重命名为 adaptive_rpm,从并发控制改为 RPM 控制 - 健康监控器支持按 API 格式独立管理健康度和熔断器状态 - 新增 model_permissions 模块,支持按格式配置允许的模型 - 重构前端提供商相关表单组件,新增 Collapsible UI 组件 - 新增数据库迁移脚本支持新的数据结构
16 lines
460 B
Vue
16 lines
460 B
Vue
<script setup lang="ts">
|
|
import { CollapsibleContent, type CollapsibleContentProps } from 'radix-vue'
|
|
import { cn } from '@/lib/utils'
|
|
|
|
const props = defineProps<CollapsibleContentProps & { class?: string }>()
|
|
</script>
|
|
|
|
<template>
|
|
<CollapsibleContent
|
|
v-bind="props"
|
|
:class="cn('overflow-hidden data-[state=closed]:animate-collapsible-up data-[state=open]:animate-collapsible-down', props.class)"
|
|
>
|
|
<slot />
|
|
</CollapsibleContent>
|
|
</template>
|