修改mirror_list的组件顺序,默认设置为阿里云

This commit is contained in:
EightyDollars 2024-11-28 15:42:28 +08:00
parent 003769b8e4
commit aba55813d2
2 changed files with 3 additions and 3 deletions

View file

@ -14,7 +14,7 @@ version = "2024-11-28"
config = { config = {
"page": "init", "page": "init",
"branch": "slow", "branch": "slow",
"mirror": "tuna", "mirror": "aliyun",
} }
config_path = Path("launcher.json") config_path = Path("launcher.json")
@ -33,8 +33,8 @@ def custom_event(data):
mirror_list = { mirror_list = {
"aliyun": "https://mirrors.aliyun.com/pypi/simple/",
"pypi": "https://pypi.org/simple", "pypi": "https://pypi.org/simple",
"aliyun": "https://mirrors.aliyun.com/pypi/simple/",
"tuna": "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple", "tuna": "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple",
"sjtu": "https://mirror.sjtu.edu.cn/pypi/web/simple", "sjtu": "https://mirror.sjtu.edu.cn/pypi/web/simple",
} }

View file

@ -51,8 +51,8 @@ provide('current_state', current_state)
<n-form-item label="PyPI 仓库镜像"> <n-form-item label="PyPI 仓库镜像">
<n-radio-group v-model:value="mirror"> <n-radio-group v-model:value="mirror">
<n-flex> <n-flex>
<n-radio value="aliyun">阿里云镜像站</n-radio>
<n-radio value="pypi">PyPI</n-radio> <n-radio value="pypi">PyPI</n-radio>
<n-radio value="aliyun">阿里云镜像站</n-radio>
<n-radio value="sjtu">上海交通大学镜像站</n-radio> <n-radio value="sjtu">上海交通大学镜像站</n-radio>
<n-radio value="tuna">清华大学镜像站</n-radio> <n-radio value="tuna">清华大学镜像站</n-radio>
</n-flex> </n-flex>