feat: 简化微信渠道账号连接
This commit is contained in:
1 parent
a721b8fb7e
commit
21e707d9c4
21 files changed
+238
-1078
No files matched your search
@@ -120,7 +120,7 @@ function LinkedChannels({ slug, activeView }: { slug: string; activeView: boolea
|
||||
}, [activeView, slug]);
|
||||
return <section aria-label="已关联渠道" className="space-y-3 rounded-xl border border-border p-5">
|
||||
<div className="flex flex-wrap items-start justify-between gap-3"><div><h2 className="font-medium">已关联渠道</h2>
|
||||
<p className="mt-1 text-sm text-muted-foreground">微信账号统一在“渠道”中连接、切换目标和管理使用权限。</p></div>
|
||||
<p className="mt-1 text-sm text-muted-foreground">微信账号统一在“渠道”中连接、切换目标和查看对话活动。</p></div>
|
||||
<Button variant="outline" onClick={() => { window.location.hash = `#/cloud-agents/channels?target=${encodeURIComponent(slug)}`; }}>打开渠道</Button></div>
|
||||
{error && <p role="alert" className="text-sm text-destructive">{error}</p>}
|
||||
{!error && items.length === 0 && <p className="text-sm text-muted-foreground">暂时没有关联的微信账号。打开渠道后会预选当前智能体。</p>}
|
||||
|
||||
Reference in new issue
Block a user