// "通用设置" tab — fields that apply to the whole OneBotInstance rather // than any specific adapter. Currently just the music-sign service URL, // but the layout has room for additional cross-cutting toggles. import { Input } from '@/components/ui/input'; import { Label } from '@/components/ui/label'; import type { OneBotConfig } from '@/types'; interface GeneralSettingsTabProps { config: OneBotConfig; onChange: (next: OneBotConfig) => void; } export function GeneralSettingsTab({ config, onChange }: GeneralSettingsTabProps) { return (
用于音乐分享卡片签名。未配置时音乐相关消息段会回落为普通文本。