From 48d80ef281786088494d94de6d3e1bea8d5a8f51 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E5=BC=A0?= <2091066548@qq.com> Date: Sat, 30 Aug 2025 14:05:01 +0800 Subject: [PATCH] =?UTF-8?q?feat=EF=BC=9A=E7=B4=A7=E6=80=A5=E4=BF=AE?= =?UTF-8?q?=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/AICompanion.vue | 6 +++--- src/views/CourseExchanged.vue | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/views/AICompanion.vue b/src/views/AICompanion.vue index 92eb38a..49b5df0 100644 --- a/src/views/AICompanion.vue +++ b/src/views/AICompanion.vue @@ -290,7 +290,7 @@ -
+
@@ -1097,7 +1097,7 @@ const submitComment = () => { } // 回复相关函数 -const startReply = (commentId: number, username: string) => { +const startReply = (commentId: string | number, username: string) => { replyingTo.value = commentId replyToUsername.value = username replyText.value = '' @@ -1145,7 +1145,7 @@ const handleReplyTextareaClick = (event: MouseEvent) => { } // 回复相关数据 -const replyingTo = ref(null) +const replyingTo = ref(null) const replyText = ref('') const replyToUsername = ref('') diff --git a/src/views/CourseExchanged.vue b/src/views/CourseExchanged.vue index 31e0820..0871467 100644 --- a/src/views/CourseExchanged.vue +++ b/src/views/CourseExchanged.vue @@ -326,7 +326,7 @@
-
+
@@ -1346,7 +1346,7 @@ const submitComment = () => { } // 回复相关函数 -const startReply = (commentId: number, username: string) => { +const startReply = (commentId: string | number, username: string) => { replyingTo.value = commentId replyToUsername.value = username replyText.value = '' @@ -1394,7 +1394,7 @@ const handleReplyTextareaClick = (event: MouseEvent) => { } // 回复相关数据 -const replyingTo = ref(null) +const replyingTo = ref(null) const replyText = ref('') const replyToUsername = ref('')