feat(router): 同步 Jev 专用出站代理设置

同步全栈仓库 c3a1786c6 的 web/ 更新。
This commit is contained in:
qiubaishen
2026-11-26 15:34:33 +08:00
parent 870b51d054
commit 9576ba674a
14 changed files with 355 additions and 0 deletions
@@ -16,6 +16,7 @@ import {
import { ConsoleAlert as Alert } from '../console/ConsolePrimitives';
import { showError, showSuccess } from '../../helpers';
import { getAdminStatus, loadOptions, saveOption, setJevKey } from './api';
import JevProxySettings from './JevProxySettings';
const { Text } = Typography;
const { TextArea } = Input;
@@ -474,6 +475,14 @@ const GlobalSettings = () => {
{renderField(f)}
</Form.Item>
))}
{sec === 'jev' && (
<JevProxySettings
saved={status?.jev_proxy}
onSaved={(jev_proxy) =>
setStatus((previous) => ({ ...previous, jev_proxy }))
}
/>
)}
{sec === 'jev' &&
['typesafe', 'openrouter'].map((p) => (
<Form.Item