From 851794c127b9c1a2fccf67f09127c9c2b667fc88 Mon Sep 17 00:00:00 2001 From: vertoryao Date: Mon, 12 May 2025 15:39:43 +0800 Subject: [PATCH] =?UTF-8?q?refactor(@vben/web-antd):=20=E4=BC=98=E5=8C=96?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E5=B8=83=E5=B1=80=E5=92=8C=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 更新 API 地址 - 优化 PPT 和 Word 页面布局 - 添加项目名称必填验证 -修复文档生成后的处理逻辑 - 优化气泡列表组件属性 --- apps/web-antd/.env.production | 2 +- apps/web-antd/vite.config.mts | 2 +- .../common-ui/src/ui/ppt/ppt-work-view.vue | 11 ++-- .../common-ui/src/ui/word/word-work-view.vue | 64 ++++++++----------- 4 files changed, 35 insertions(+), 44 deletions(-) diff --git a/apps/web-antd/.env.production b/apps/web-antd/.env.production index 5375847..a890ef2 100644 --- a/apps/web-antd/.env.production +++ b/apps/web-antd/.env.production @@ -1,7 +1,7 @@ VITE_BASE=/ # 接口地址 -VITE_GLOB_API_URL=https://mock-napi.vben.pro/api +VITE_GLOB_API_URL=http://dify.vertoryao.xyz/api # 是否开启压缩,可以设置为 none, brotli, gzip VITE_COMPRESS=none diff --git a/apps/web-antd/vite.config.mts b/apps/web-antd/vite.config.mts index 20a0018..8d426ff 100644 --- a/apps/web-antd/vite.config.mts +++ b/apps/web-antd/vite.config.mts @@ -17,7 +17,7 @@ export default defineConfig(async () => { '/docx': { changeOrigin: true, rewrite: (path) => path.replace(/^\/docx/, ''), - target: 'http://47.112.173.8:6802/static', + target: 'http://47.112.173.8:6805/static', }, '/pptx': { changeOrigin: true, diff --git a/packages/effects/common-ui/src/ui/ppt/ppt-work-view.vue b/packages/effects/common-ui/src/ui/ppt/ppt-work-view.vue index 6c8fbc1..f5566b4 100644 --- a/packages/effects/common-ui/src/ui/ppt/ppt-work-view.vue +++ b/packages/effects/common-ui/src/ui/ppt/ppt-work-view.vue @@ -162,6 +162,7 @@ const startFetching = async () => { ), ]), }); + value.value = ''; } catch (error) { console.error(error); } @@ -286,10 +287,12 @@ watch(