修改默认pip源

This commit is contained in:
whyour 2022-06-08 22:54:44 +08:00
parent 98cc983473
commit 559defc8d6
2 changed files with 2 additions and 2 deletions

View File

@ -39,7 +39,7 @@ AutoStartBot=""
BotRepoUrl=""
## 安装bot依赖时指定pip源默认使用清华源如不需要源设置此参数为空
PipMirror="https://pypi.tuna.tsinghua.edu.cn/simple"
PipMirror="https://pypi.doubanio.com/simple/"
## 通知环境变量
## 1. Server酱

View File

@ -48,7 +48,7 @@ const EditScriptNameModal = ({
})
.then(({ code, data }) => {
if (code === 200) {
message.success('保存文件成功');
message.success('新建文件成功');
const key = values.path ? `${values.path}/` : '';
const filename = file ? file.name : values.filename;
handleCancel({