From 13d30a51a8409104117a360bcece7883ff9a03fc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E6=98=B1=E8=BE=BE?= Date: Tue, 27 May 2025 21:16:02 +0800 Subject: [PATCH] =?UTF-8?q?config(vite):=20=E6=9B=B4=E6=96=B0=20Vite?= =?UTF-8?q?=E9=85=8D=E7=BD=AE=E4=BB=A5=E6=94=AF=E6=8C=81=E7=89=B9=E5=AE=9A?= =?UTF-8?q?=E4=B8=BB=E6=9C=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 在 Vite 配置中添加 allowedHosts 选项,允许 yiligpt.x.digitalyili.com 主机 - 优化代码格式,调整导入语句的分号 --- .../IntelligentGeneration/Index.vue | 89 ++++++++++--------- vite.config.ts | 3 +- 2 files changed, 50 insertions(+), 42 deletions(-) diff --git a/src/views/Home/components/CreateSurvey/components/IntelligentGeneration/Index.vue b/src/views/Home/components/CreateSurvey/components/IntelligentGeneration/Index.vue index 4bace6a..23b9270 100644 --- a/src/views/Home/components/CreateSurvey/components/IntelligentGeneration/Index.vue +++ b/src/views/Home/components/CreateSurvey/components/IntelligentGeneration/Index.vue @@ -1,53 +1,60 @@