refactor(platform): 统一控件 - 收敛下拉选择与按钮输入交互样式

This commit is contained in:
ddcat666 committed 2026-09-25 00:01:09 +08:00
1 parent c0d223f357
commit 8a691f76c9
61 files changed
+661 -237

No files matched your search

+2 -1
View File
@@ -1,4 +1,4 @@
import { App, Button, Form, Input, Select, Space } from "antd";
import { App, Button, Form, Input, Space } from "antd";
import { Check, Download, Pencil, Plus, Sparkles, Trash2, Upload, X } from "lucide-react";
import { useCallback, useEffect, useRef, useState } from "react";
@@ -30,6 +30,7 @@ import {
type AgentMemoryStep,
} from "@/services/api/agent-memories";
import { encodeChannelModel, logicalModelIDForConfig, modelOptionName, resolveModelRequestConfig, useEffectiveConfig, type AiConfig } from "@/stores/use-config-store";
import { Select } from "@/components/ui/base/select";
const COMPACT_INTERVALS: Array<{ value: AgentMemoryCompactInterval; label: string }> = [
{ value: "off", label: "手动" },
@@ -1,4 +1,4 @@
import { App, Button, Form, Input, Popconfirm, Segmented, Select, Tooltip } from "antd";
import { App, Button, Form, Input, Popconfirm, Segmented, Tooltip } from "antd";
import { Pencil, Plus, RefreshCw, Trash2, Workflow } from "lucide-react";
import { useState, type ReactNode } from "react";
@@ -17,6 +17,7 @@ import {
type ModelChannel,
} from "@/stores/use-config-store";
import { ChannelModelSettings } from "./channel-video-pricing";
import { Select } from "@/components/ui/base/select";
type UserChannelConnection = "openai" | "gemini";
type ChannelSettingsPaneProps = {