代码泰囧

This commit is contained in:
fengxiangdebaozi committed 2026-07-23 16:27:35 +08:00
1 parent 21722b9f5a
commit f32de510fe
7 files changed
+178 -25

No files matched your search

@@ -95,6 +95,7 @@ export interface Step1InputAreaProps {
}
export interface Step1PanelProps {
rootClassName?: string;
// ─── State ────────────────────────────────────────────────────
/**
* 头部左侧自定义内容(深链 taskId 模式:用「策划流程」小图取代默认标题)。
@@ -141,6 +142,7 @@ export function Step1Panel(props: Step1PanelProps) {
const {
headerLeftSlot,
headerRightSlot,
rootClassName,
interactiveMessages,
intentThreadId,
intentReady,
@@ -210,7 +212,7 @@ export function Step1Panel(props: Step1PanelProps) {
const headerDzRef = useDesensitizeSubtree<HTMLDivElement>();
return (
<div className="flex-1 flex flex-col min-h-0">
<div className={`flex-1 flex flex-col min-h-0 ${rootClassName ?? ""}`}>
{/* Dialogue Header */}
<div ref={headerDzRef} className="shrink-0 px-6 py-4.5 border-b border-slate-100 flex items-center justify-between gap-3 bg-slate-50/50">
{headerLeftSlot ?? (