From e4745ae78923c72847b8429bc45c8de81baf028b Mon Sep 17 00:00:00 2001
From: Kven <2955163637@qq.com>
Date: Mon, 12 May 2025 19:52:53 +0800
Subject: [PATCH] =?UTF-8?q?feat(@vben/common-ui):=20=E4=BC=98=E5=8C=96?=
=?UTF-8?q?=E6=96=87=E6=A1=A3=E5=A4=84=E7=90=86=E5=8A=9F=E8=83=BD?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
- 添加 markdown 解析功能
- 优化文档预览和工作视图组件
- 添加文档生成相关功能
- 修复一些与文档处理相关的问题
---
apps/web-antd/.env.production | 2 +-
apps/web-antd/src/views/dept/list.vue | 6 +-
apps/web-antd/src/views/ppt/index.vue | 6 +-
apps/web-antd/src/views/role/data.ts | 2 +-
apps/web-antd/src/views/user/data.ts | 1 +
apps/web-antd/vite.config.mts | 2 +
packages/effects/common-ui/package.json | 1 +
.../common-ui/src/ui/ppt/ppt-perview.vue | 12 +-
.../common-ui/src/ui/ppt/ppt-work-view.vue | 49 +++++-
.../src/ui/spider/spider-work-view.vue | 22 ++-
.../common-ui/src/ui/word/word-preview.vue | 12 +-
.../common-ui/src/ui/word/word-work-view.vue | 143 +++++++++++++-----
pnpm-lock.yaml | 39 +++++
13 files changed, 243 insertions(+), 54 deletions(-)
diff --git a/apps/web-antd/.env.production b/apps/web-antd/.env.production
index a890ef2..5375847 100644
--- a/apps/web-antd/.env.production
+++ b/apps/web-antd/.env.production
@@ -1,7 +1,7 @@
VITE_BASE=/
# 接口地址
-VITE_GLOB_API_URL=http://dify.vertoryao.xyz/api
+VITE_GLOB_API_URL=https://mock-napi.vben.pro/api
# 是否开启压缩,可以设置为 none, brotli, gzip
VITE_COMPRESS=none
diff --git a/apps/web-antd/src/views/dept/list.vue b/apps/web-antd/src/views/dept/list.vue
index ff18c14..66eb3cf 100644
--- a/apps/web-antd/src/views/dept/list.vue
+++ b/apps/web-antd/src/views/dept/list.vue
@@ -138,7 +138,11 @@ function refreshGrid() {
-