diff --git a/ui/package.json b/ui/package.json index 229b9d3a7..4bc39ccc8 100644 --- a/ui/package.json +++ b/ui/package.json @@ -19,6 +19,7 @@ "cropperjs": "^1.6.2", "echarts": "^5.5.0", "element-plus": "^2.5.6", + "file-saver": "^2.0.5", "install": "^0.13.0", "katex": "^0.16.10", "lodash": "^4.17.21", @@ -31,6 +32,7 @@ "markdown-it-sup": "^1.0.0", "markdown-it-task-lists": "^2.1.1", "markdown-it-toc-done-right": "^4.2.0", + "marked": "^12.0.2", "md-editor-v3": "4.12.1", "medium-zoom": "^1.1.0", "mermaid": "^10.9.0", @@ -49,6 +51,7 @@ "devDependencies": { "@rushstack/eslint-patch": "^1.3.2", "@tsconfig/node18": "^18.2.0", + "@types/file-saver": "^2.0.7", "@types/jsdom": "^21.1.1", "@types/markdown-it": "^13.0.7", "@types/markdown-it-highlightjs": "^3.3.4", diff --git a/ui/src/views/chat/pc/index.vue b/ui/src/views/chat/pc/index.vue index 4b91d2e68..c1105591d 100644 --- a/ui/src/views/chat/pc/index.vue +++ b/ui/src/views/chat/pc/index.vue @@ -7,7 +7,10 @@
历史记录