fix: remove iframe general chat entry

This commit is contained in:
Rocky Kwok committed 2026-07-28 11:12:00 +08:00
1 parent 008c9ede6e
commit d86c9d48a6
1 file changed
+2 -14
+2 -14
View File
@@ -1,7 +1,6 @@
"use client";
import {
ArrowRightIcon,
BookMarkedIcon,
BotIcon,
BrainCircuitIcon,
@@ -709,7 +708,7 @@ export default function IframeChatPage() {
<div className="mb-6 flex min-h-40 flex-col items-center justify-center px-4 text-center">
<div className="text-2xl font-medium">你好</div>
<div className="mt-2 text-sm text-muted-foreground">
选择智能体进入问答,或直接使用通用问答
选择智能体进入问答
</div>
<div className="mt-4 flex flex-wrap items-center justify-center gap-2">
<label className="relative inline-flex h-9 min-w-40 items-center rounded-full border border-[#eee3d5] bg-[#fffaf5] px-3 text-[#7e6a57] shadow-sm transition-colors hover:bg-white">
@@ -740,21 +739,10 @@ export default function IframeChatPage() {
▾
</span>
</label>
<Button
type="button"
variant="outline"
size="sm"
disabled={isUploading}
onClick={() => enterStandardChat()}
className="rounded-full"
>
直接进入通用问答
<ArrowRightIcon className="ml-1 size-3.5" />
</Button>
</div>
{!selectorLoading && fallbackAgents.length === 0 && (
<div className="mt-3 text-xs text-muted-foreground">
暂无可选智能体,仍可直接进入通用问答
暂无可选智能体
</div>
)}
</div>