From dd4adbcdc2837d1e128fe1b96bb48b28b0948053 Mon Sep 17 00:00:00 2001 From: jiangxucong Date: Fri, 28 Feb 2025 11:56:07 +0800 Subject: [PATCH] =?UTF-8?q?=E9=85=8D=E7=BD=AE=E6=96=87=E4=BB=B6=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- DigitalHumanWeb/Dockerfile | 4 ++-- DigitalHumanWeb/package.json | 2 +- .../src/app/(main)/applicationset/applicationset.tsx | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/DigitalHumanWeb/Dockerfile b/DigitalHumanWeb/Dockerfile index ae9603a..a8ee26a 100644 --- a/DigitalHumanWeb/Dockerfile +++ b/DigitalHumanWeb/Dockerfile @@ -1,5 +1,5 @@ ## Base image for all the stages -FROM node:20-slim AS base +FROM node:22-slim AS base ARG USE_CN_MIRROR @@ -67,7 +67,7 @@ RUN \ # Enable corepack && corepack enable \ # Use pnpm for corepack - && corepack use pnpm \ + && corepack use $(sed -n 's/.*"packageManager": "\(.*\)".*/\1/p' package.json) \ # Install the dependencies && pnpm i \ # Add sharp dependencies diff --git a/DigitalHumanWeb/package.json b/DigitalHumanWeb/package.json index 7be646f..ddf5ffe 100644 --- a/DigitalHumanWeb/package.json +++ b/DigitalHumanWeb/package.json @@ -123,7 +123,7 @@ "@lobehub/chat-plugins-gateway": "^1.9.0", "@lobehub/icons": "^1.33.7", "@lobehub/tts": "^1.24.3", - "@lobehub/ui": "^1.150.3", + "@lobehub/ui": "1.150.3", "@neondatabase/serverless": "^0.9.4", "@next/third-parties": "^14.2.6", "@react-spring/web": "^9.7.3", diff --git a/DigitalHumanWeb/src/app/(main)/applicationset/applicationset.tsx b/DigitalHumanWeb/src/app/(main)/applicationset/applicationset.tsx index c198df7..c589346 100644 --- a/DigitalHumanWeb/src/app/(main)/applicationset/applicationset.tsx +++ b/DigitalHumanWeb/src/app/(main)/applicationset/applicationset.tsx @@ -728,7 +728,7 @@ const ApplicationSet = memo(() => { url: "/flxai/api/robot/apptoolsset/getAllAiTools", }).then((response) => { if (response.code === 0) { - console.log(response,"2222") + // console.log(response,"2222") setStData(response.data); } }).catch(error => {