feat(router): 同步 Jev 专用出站代理设置
同步全栈仓库 c3a1786c6 的 web/ 更新。
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user