diff --git a/package.json b/package.json index 21a57724..c8dab2b8 100644 --- a/package.json +++ b/package.json @@ -52,6 +52,7 @@ "highlight.js": "^11.9.0", "jsencrypt": "^3.3.2", "lodash-es": "^4.17.21", + "marked": "^12.0.2", "min-dash": "^4.1.1", "mitt": "^3.0.1", "nprogress": "^0.2.0", diff --git a/src/views/ai/chat/index.vue b/src/views/ai/chat/index.vue index 6b43e706..2e5cead6 100644 --- a/src/views/ai/chat/index.vue +++ b/src/views/ai/chat/index.vue @@ -98,9 +98,7 @@ {{formatDate(item.createTime)}}
- - {{item.content}} - +
@@ -126,9 +124,7 @@ {{formatDate(item.createTime)}}
- - {{item.content}} - +
@@ -165,9 +161,12 @@