From bdcc1488b979f8b9a3d142006231da70152cbc00 Mon Sep 17 00:00:00 2001 From: Tim Date: Thu, 23 Oct 2025 17:54:03 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E6=94=B9=E5=8F=AF=E8=A7=81?= =?UTF-8?q?=E8=8C=83=E5=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- deploy/deploy_staging.sh | 1 - docker/docker-compose.yaml | 4 +- frontend_nuxt/pages/posts/[id]/index.vue | 59 ++++++++++++++---------- 3 files changed, 37 insertions(+), 27 deletions(-) diff --git a/deploy/deploy_staging.sh b/deploy/deploy_staging.sh index 2f6a3d066..fbeda44a7 100644 --- a/deploy/deploy_staging.sh +++ b/deploy/deploy_staging.sh @@ -36,7 +36,6 @@ echo "👉 Pull base images (for image-based services)..." docker compose -f "$compose_file" --env-file "$env_file" pull --ignore-pull-failures echo "👉 Build images (staging)..." -# 前端 + OpenSearch 都是自建镜像;--pull 更新其基础镜像 docker compose -f "$compose_file" --env-file "$env_file" \ build --pull \ --build-arg NUXT_ENV=staging \ diff --git a/docker/docker-compose.yaml b/docker/docker-compose.yaml index 6fd60458a..5bf093c77 100644 --- a/docker/docker-compose.yaml +++ b/docker/docker-compose.yaml @@ -161,8 +161,8 @@ services: condition: service_started websocket-service: condition: service_healthy - opensearch: - condition: service_healthy + # opensearch: + # condition: service_healthy command: > sh -c "apt-get update && apt-get install -y --no-install-recommends curl && mvn clean spring-boot:run -Dmaven.test.skip=true" diff --git a/frontend_nuxt/pages/posts/[id]/index.vue b/frontend_nuxt/pages/posts/[id]/index.vue index 36a81c772..45eea0f0e 100644 --- a/frontend_nuxt/pages/posts/[id]/index.vue +++ b/frontend_nuxt/pages/posts/[id]/index.vue @@ -1,8 +1,7 @@