From e144e63f69758a32d53f7b5df3473d13b932e5f8 Mon Sep 17 00:00:00 2001
From: lion <120344285@qq.com>
Date: Wed, 12 Feb 2025 11:33:37 +0800
Subject: [PATCH] =?UTF-8?q?=E9=A2=84=E8=A7=88?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
package.json | 3 ++
src/components/viewFile/viewFile.vue | 55 ++++++++++++++++++++++------
vue.config.js | 2 +-
3 files changed, 47 insertions(+), 13 deletions(-)
diff --git a/package.json b/package.json
index e256cc8..faed231 100644
--- a/package.json
+++ b/package.json
@@ -16,6 +16,9 @@
"dependencies": {
"@riophae/vue-treeselect": "^0.4.0",
"@smallwei/avue": "^2.10.17",
+ "@vue-office/docx": "^1.6.3",
+ "@vue-office/excel": "^1.7.14",
+ "@vue-office/pdf": "^2.0.10",
"avue-plugin-map": "^1.0.1",
"axios": "^0.26.1",
"core-js": "3.6.5",
diff --git a/src/components/viewFile/viewFile.vue b/src/components/viewFile/viewFile.vue
index c5f6dcf..4e1bddf 100644
--- a/src/components/viewFile/viewFile.vue
+++ b/src/components/viewFile/viewFile.vue
@@ -8,8 +8,11 @@