mirror of
https://github.com/whyour/qinglong.git
synced 2025-05-22 22:36:06 +08:00
修改依赖设置提示
This commit is contained in:
parent
315ae49360
commit
8128fb8a9f
|
@ -476,6 +476,6 @@
|
|||
"代理地址, 支持HTTP(S)/SOCK5": "Proxy Address, supports HTTP(S)/SOCK5",
|
||||
"NPM 镜像源": "NPM Mirror Source",
|
||||
"PyPI 镜像源": "PyPI Mirror Source",
|
||||
"alpine linux 镜像源, 例如 https://mirrors.aliyun.com": "Alpine Linux Mirror Source, e.g. https://mirrors.aliyun.com",
|
||||
"alpine linux 镜像源": "Alpine Linux Mirror Source",
|
||||
"如果恢复失败,可进入容器执行": "If recovery fails, you can enter the container and execute"
|
||||
}
|
||||
|
|
|
@ -476,6 +476,6 @@
|
|||
"代理地址, 支持HTTP(S)/SOCK5": "代理地址, 支持HTTP(S)/SOCK5",
|
||||
"NPM 镜像源": "NPM 镜像源",
|
||||
"PyPI 镜像源": "PyPI 镜像源",
|
||||
"alpine linux 镜像源, 例如 https://mirrors.aliyun.com": "alpine linux 镜像源, 例如 https://mirrors.aliyun.com",
|
||||
"alpine linux 镜像源": "alpine linux 镜像源",
|
||||
"如果恢复失败,可进入容器执行": "如果恢复失败,可进入容器执行"
|
||||
}
|
||||
|
|
|
@ -105,11 +105,15 @@ const Dependence = () => {
|
|||
label={intl.get('代理')}
|
||||
name="proxy"
|
||||
extra={intl.get('代理与镜像源二选一即可')}
|
||||
tooltip={{
|
||||
title: intl.get('代理地址, 支持HTTP(S)/SOCK5'),
|
||||
placement: 'topLeft',
|
||||
}}
|
||||
>
|
||||
<Input.Group compact>
|
||||
<Input
|
||||
placeholder={intl.get('代理地址, 支持HTTP(S)/SOCK5')}
|
||||
style={{ width: 360 }}
|
||||
placeholder={'http://1.1.1.1:8080'}
|
||||
style={{ width: 250 }}
|
||||
value={systemConfig?.dependenceProxy}
|
||||
onChange={(e) => {
|
||||
setSystemConfig({
|
||||
|
@ -130,11 +134,15 @@ const Dependence = () => {
|
|||
</Button>
|
||||
</Input.Group>
|
||||
</Form.Item>
|
||||
<Form.Item label={intl.get('Node 软件包镜像源')} name="node">
|
||||
<Form.Item
|
||||
label={intl.get('Node 软件包镜像源')}
|
||||
name="node"
|
||||
tooltip={intl.get('NPM 镜像源')}
|
||||
>
|
||||
<Input.Group compact>
|
||||
<Input
|
||||
style={{ width: 360 }}
|
||||
placeholder={intl.get('NPM 镜像源')}
|
||||
style={{ width: 250 }}
|
||||
placeholder={'https://registry.npmmirror.com'}
|
||||
value={systemConfig?.nodeMirror}
|
||||
onChange={(e) => {
|
||||
setSystemConfig({
|
||||
|
@ -155,11 +163,15 @@ const Dependence = () => {
|
|||
</Button>
|
||||
</Input.Group>
|
||||
</Form.Item>
|
||||
<Form.Item label={intl.get('Python 软件包镜像源')} name="python">
|
||||
<Form.Item
|
||||
label={intl.get('Python 软件包镜像源')}
|
||||
name="python"
|
||||
tooltip={intl.get('PyPI 镜像源')}
|
||||
>
|
||||
<Input.Group compact>
|
||||
<Input
|
||||
style={{ width: 360 }}
|
||||
placeholder={intl.get('PyPI 镜像源')}
|
||||
style={{ width: 250 }}
|
||||
placeholder={'https://pypi.doubanio.com/simple/'}
|
||||
value={systemConfig?.pythonMirror}
|
||||
onChange={(e) => {
|
||||
setSystemConfig({
|
||||
|
@ -180,13 +192,15 @@ const Dependence = () => {
|
|||
</Button>
|
||||
</Input.Group>
|
||||
</Form.Item>
|
||||
<Form.Item label={intl.get('Linux 软件包镜像源')} name="linux">
|
||||
<Form.Item
|
||||
label={intl.get('Linux 软件包镜像源')}
|
||||
name="linux"
|
||||
tooltip={intl.get('alpine linux 镜像源')}
|
||||
>
|
||||
<Input.Group compact>
|
||||
<Input
|
||||
style={{ width: 360 }}
|
||||
placeholder={intl.get(
|
||||
'alpine linux 镜像源, 例如 https://mirrors.aliyun.com',
|
||||
)}
|
||||
style={{ width: 250 }}
|
||||
placeholder={'https://mirrors.aliyun.com'}
|
||||
value={systemConfig?.linuxMirror}
|
||||
onChange={(e) => {
|
||||
setSystemConfig({
|
||||
|
|
Loading…
Reference in New Issue
Block a user