From 33ab4f4358def6e6aa649d8fe2ef4add761acebf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E6=9C=B1?= <10714957+xiao-zhu245@user.noreply.gitee.com> Date: Sat, 12 Jul 2025 18:27:14 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- client/src/pages/InstanceManagerPage.tsx | 5 ----- scripts/package.js | 4 ++-- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/client/src/pages/InstanceManagerPage.tsx b/client/src/pages/InstanceManagerPage.tsx index f6437a6..5ab8351 100644 --- a/client/src/pages/InstanceManagerPage.tsx +++ b/client/src/pages/InstanceManagerPage.tsx @@ -138,11 +138,6 @@ const InstanceManagerPage: React.FC = () => { setAvailableConfigs(response.data) } catch (error) { console.error('获取配置列表失败:', error) - addNotification({ - type: 'error', - title: '获取失败', - message: '获取配置列表失败' - }) } } diff --git a/scripts/package.js b/scripts/package.js index e163e06..8487aa7 100644 --- a/scripts/package.js +++ b/scripts/package.js @@ -250,7 +250,7 @@ node server/index.js` const installPythonDepsScript = `@echo off echo 正在安装Python依赖... cd server\Python -pip install -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple/ --trusted-host pypi.tuna.tsinghua.edu.cn +pip install -r server/Python/requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple/ --trusted-host pypi.tuna.tsinghua.edu.cn echo Python依赖安装完成! pause` @@ -263,7 +263,7 @@ pause` const installPythonDepsShScript = `#!/bin/bash echo "正在安装Python依赖..." cd server/src/Python -pip install -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple/ --trusted-host pypi.tuna.tsinghua.edu.cn +pip install -r server/Python/requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple/ --trusted-host pypi.tuna.tsinghua.edu.cn echo "Python依赖安装完成!"` await fs.writeFile(