diff --git a/web/src/components/ChatReply.vue b/web/src/components/ChatReply.vue
index d0940101..05c3dd04 100644
--- a/web/src/components/ChatReply.vue
+++ b/web/src/components/ChatReply.vue
@@ -6,14 +6,23 @@
-
+
{{ dateFormat(data.created_at) }}
+ {{ dateFormat(data.created_at) }}
tokens: {{ data.tokens }}
-
+
@@ -21,13 +30,23 @@
-
+
-
+
@@ -56,15 +75,24 @@
{{ dateFormat(data.created_at) }}
+ {{ dateFormat(data.created_at) }}
-
+
@@ -72,13 +100,23 @@
-
+
-
+
@@ -102,17 +140,17 @@ const props = defineProps({
icon: "",
content: "",
created_at: "",
- tokens: 0,
- },
+ tokens: 0
+ }
},
readOnly: {
type: Boolean,
- default: false,
+ default: false
},
listStyle: {
type: String,
- default: "list",
- },
+ default: "list"
+ }
});
const mathjaxPlugin = require("markdown-it-mathjax3");
@@ -122,7 +160,8 @@ const md = require("markdown-it")({
linkify: true,
typographer: true,
highlight: function (str, lang) {
- const codeIndex = parseInt(Date.now()) + Math.floor(Math.random() * 10000000);
+ const codeIndex =
+ parseInt(Date.now()) + Math.floor(Math.random() * 10000000);
// 显示复制代码按钮
const copyBtn = `复制