From 430dce1f09659c8772ffd72cfcd62aca75418d34 Mon Sep 17 00:00:00 2001 From: zhonghua Date: Wed, 8 Apr 2026 14:09:52 +0800 Subject: [PATCH] =?UTF-8?q?postMessage=E6=B6=88=E6=81=AF=E5=AF=B9=E6=8E=A5?= =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/.env.development | 2 +- frontend/.env.production | 2 +- frontend/src/views/public/create/Index.vue | 26 ++++++++++---------- lesingle-aicreate-client/.env.development | 2 +- lesingle-aicreate-client/.env.production | 2 +- lesingle-aicreate-client/src/utils/bridge.js | 12 ++++++--- 6 files changed, 25 insertions(+), 21 deletions(-) diff --git a/frontend/.env.development b/frontend/.env.development index a3457b5..3fd5c3b 100644 --- a/frontend/.env.development +++ b/frontend/.env.development @@ -1,3 +1,3 @@ # 开发环境 VITE_API_BASE_URL=/api -VITE_AI_POST_MESSAGE_URL=://localhost:3001/ +VITE_AI_POST_MESSAGE_URL=http://localhost:3001 diff --git a/frontend/.env.production b/frontend/.env.production index deef555..f32edc7 100644 --- a/frontend/.env.production +++ b/frontend/.env.production @@ -2,5 +2,5 @@ VITE_API_BASE_URL=/api # 如果后端部署在不同域名,可以改成完整地址: # VITE_API_BASE_URL=https://api.your-domain.com -VITE_AI_POST_MESSAGE_URL=://localhost:3001 +VITE_AI_POST_MESSAGE_URL=http://localhost:3001 diff --git a/frontend/src/views/public/create/Index.vue b/frontend/src/views/public/create/Index.vue index ca84041..502eb6a 100644 --- a/frontend/src/views/public/create/Index.vue +++ b/frontend/src/views/public/create/Index.vue @@ -10,14 +10,8 @@ -