fix(HistoryButton):条件渲染历史按钮
This commit is contained in:
parent
7ddc3a1742
commit
369f3af384
|
|
@ -115,7 +115,7 @@ export function InputBox({
|
||||||
mode: "flash" | "thinking" | "pro" | "ultra" | undefined;
|
mode: "flash" | "thinking" | "pro" | "ultra" | undefined;
|
||||||
};
|
};
|
||||||
extraHeader?: React.ReactNode;
|
extraHeader?: React.ReactNode;
|
||||||
showWelcomeStyle?: boolean;
|
showWelcomeStyle: boolean;
|
||||||
hasSubmitted?: boolean;
|
hasSubmitted?: boolean;
|
||||||
initialValue?: string;
|
initialValue?: string;
|
||||||
onContextChange?: (
|
onContextChange?: (
|
||||||
|
|
@ -376,11 +376,11 @@ export function InputBox({
|
||||||
/>
|
/>
|
||||||
</PromptInputActionMenuContent>
|
</PromptInputActionMenuContent>
|
||||||
</PromptInputActionMenu> */}
|
</PromptInputActionMenu> */}
|
||||||
<HistoryButton
|
{showWelcomeStyle && <HistoryButton
|
||||||
className="px-2!"
|
className="px-2!"
|
||||||
router={router}
|
router={router}
|
||||||
threadId={threadIdFromProps}
|
threadId={threadIdFromProps}
|
||||||
/>
|
/>}
|
||||||
<AddAttachmentsButton className="px-2!" />
|
<AddAttachmentsButton className="px-2!" />
|
||||||
<IframeSkillDialogButton
|
<IframeSkillDialogButton
|
||||||
className="px-2!"
|
className="px-2!"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue