feat(web): use purple badge capsule for account proxy indicator

This commit is contained in:
Hureru
2026-03-19 01:12:39 +08:00
parent 252d40d897
commit 849800c4cd
2 changed files with 7 additions and 2 deletions
+2 -2
View File
@@ -1601,7 +1601,7 @@ export default function Accounts() {
{connectionMode === 'apikey' ? 'API Key' : 'Session'}
</span>
{(() => { try { return JSON.parse(a.extraConfig || '{}')?.proxyUrl; } catch { return null; } })() && (
<span className="badge badge-outline" style={{ fontSize: 10 }}>代理</span>
<span className="badge badge-purple" style={{ fontSize: 10 }}>代理</span>
)}
</div>
)}
@@ -1814,7 +1814,7 @@ export default function Accounts() {
{connectionMode === 'apikey' ? 'API Key' : 'Session'}
</span>
{(() => { try { return JSON.parse(a.extraConfig || '{}')?.proxyUrl; } catch { return null; } })() && (
<span className="badge badge-outline" style={{ fontSize: 10 }}>代理</span>
<span className="badge badge-purple" style={{ fontSize: 10 }}>代理</span>
)}
</div>
</td>