diff --git a/packages/gui/src/view/pages/plugin/pip.vue b/packages/gui/src/view/pages/plugin/pip.vue index f5b5669abc..7a986c3660 100644 --- a/packages/gui/src/view/pages/plugin/pip.vue +++ b/packages/gui/src/view/pages/plugin/pip.vue @@ -64,7 +64,10 @@ -
注意:切换仓库镜像同时会修改pip.ini中的trusted-host配置
+
+ 使用以上域名安装包时,不会进行SSL证书验证,多个域名用空格隔开
+ 注意:切换仓库镜像同时会修改pip.ini中的trusted-host配置,即使关闭ds也会继续保持 +
@@ -101,6 +104,7 @@ export default { ready () { }, async applyBefore () { + this.config.plugin.pip.setting.trustedHost = this.config.plugin.pip.setting.trustedHost.replaceAll(/[,,。+\s]+/g, ' ').trim() }, async applyAfter () { await this.$api.plugin.pip.start()