diff --git a/package.json b/package.json index db6c7ce..5ca8d6e 100644 --- a/package.json +++ b/package.json @@ -31,7 +31,7 @@ "clipboard": "2.0.8", "core-js": "3.37.1", "crypto-js": "^4.2.0", - "docx-preview": "^0.3.7", + "docx-preview": "^0.1.7", "echarts": "5.4.0", "element-ui": "2.15.14", "file-saver": "2.0.5", @@ -40,6 +40,7 @@ "js-beautify": "1.13.0", "js-cookie": "3.0.1", "jsencrypt": "3.0.0-rc.1", + "jszip": "^3.10.1", "lodash": "^4.17.21", "mammoth": "^1.11.0", "nprogress": "0.2.0", diff --git a/src/views/common/DocumentSearchWord.vue b/src/views/common/DocumentSearchWord.vue index 1f2e468..8f231cd 100644 --- a/src/views/common/DocumentSearchWord.vue +++ b/src/views/common/DocumentSearchWord.vue @@ -24,8 +24,7 @@
- +
@@ -38,7 +37,7 @@

{{ error }}

重新加载
-
+

暂未指定 Word 文件,请通过路由参数 url 传入文件地址。

@@ -48,28 +47,103 @@