订阅增加代理参数

This commit is contained in:
whyour
2022-11-13 23:58:42 +08:00
parent 5ee00e52a8
commit 0a6166c557
5 changed files with 25 additions and 3 deletions
+2 -1
View File
@@ -253,10 +253,11 @@ textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
border: none;
box-shadow: none;
transition: background-color 5000s ease-in-out 0s;
-webkit-text-fill-color: @text-color;
caret-color: @text-color;
color: @text-color;
}
::placeholder {
+13
View File
@@ -439,6 +439,19 @@ const SubscriptionModal = ({
</Form.Item>
</>
)}
<Form.Item
name="proxy"
label="代理"
tooltip="公开仓库支持HTTP/SOCK5代理,私有仓库支持SOCK5代理"
>
<Input
placeholder={
type === 'private-repo'
? 'SOCK5代理,例如 IP:PORT'
: 'HTTP/SOCK5代理,例如 http://127.0.0.1:1080'
}
/>
</Form.Item>
</Form>
</Modal>
);