feat: generic_proxy

This commit is contained in:
jialin
2025-11-11 15:47:32 +08:00
parent b4b25d4300
commit ee5c30934b
13 changed files with 138 additions and 12 deletions
+14 -1
View File
@@ -25,7 +25,6 @@ const AdvanceConfig = () => {
}, [backend, backendOptions]);
const handleEnviromentVarsChange = (labels: Record<string, any>) => {
console.log('handleEnviromentVarsChange', labels);
form.setFieldValue('env', labels);
};
@@ -134,6 +133,20 @@ const AdvanceConfig = () => {
})}
></CheckboxField>
</Form.Item>
{/* <Form.Item<FormData>
name="generic_proxy"
valuePropName="checked"
style={{ marginBottom: 8 }}
>
<CheckboxField
description={intl.formatMessage({
id: 'models.form.generic_proxy.tips'
})}
label={intl.formatMessage({
id: 'models.form.generic_proxy'
})}
></CheckboxField>
</Form.Item> */}
</>
);
};
+1 -1
View File
@@ -220,7 +220,7 @@ const ScheduleTypeForm: React.FC = () => {
<InputWrapper>
<InputNumber
min={1}
max={16}
max={64}
step={1}
style={{ width: '100%' }}
defaultValue={