修改mirror_list的组件顺序,默认设置为阿里云
This commit is contained in:
parent
003769b8e4
commit
aba55813d2
2 changed files with 3 additions and 3 deletions
|
@ -14,7 +14,7 @@ version = "2024-11-28"
|
|||
config = {
|
||||
"page": "init",
|
||||
"branch": "slow",
|
||||
"mirror": "tuna",
|
||||
"mirror": "aliyun",
|
||||
}
|
||||
config_path = Path("launcher.json")
|
||||
|
||||
|
@ -33,8 +33,8 @@ def custom_event(data):
|
|||
|
||||
|
||||
mirror_list = {
|
||||
"aliyun": "https://mirrors.aliyun.com/pypi/simple/",
|
||||
"pypi": "https://pypi.org/simple",
|
||||
"aliyun": "https://mirrors.aliyun.com/pypi/simple/",
|
||||
"tuna": "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple",
|
||||
"sjtu": "https://mirror.sjtu.edu.cn/pypi/web/simple",
|
||||
}
|
||||
|
|
|
@ -51,8 +51,8 @@ provide('current_state', current_state)
|
|||
<n-form-item label="PyPI 仓库镜像">
|
||||
<n-radio-group v-model:value="mirror">
|
||||
<n-flex>
|
||||
<n-radio value="aliyun">阿里云镜像站</n-radio>
|
||||
<n-radio value="pypi">PyPI</n-radio>
|
||||
<n-radio value="aliyun">阿里云镜像站</n-radio>
|
||||
<n-radio value="sjtu">上海交通大学镜像站</n-radio>
|
||||
<n-radio value="tuna">清华大学镜像站</n-radio>
|
||||
</n-flex>
|
||||
|
|
Loading…
Reference in a new issue