feat:紧急修复
This commit is contained in:
parent
537a7f8fe6
commit
48d80ef281
@ -290,7 +290,7 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- 回复区域示例 -->
|
<!-- 回复区域示例 -->
|
||||||
<div class="comment-replies" v-if="comment.id === 1">
|
<div class="comment-replies" v-if="String(comment.id) === '1'">
|
||||||
<!-- 讲师回复 -->
|
<!-- 讲师回复 -->
|
||||||
<div class="reply-item instructor-reply">
|
<div class="reply-item instructor-reply">
|
||||||
<div class="reply-avatar">
|
<div class="reply-avatar">
|
||||||
@ -1097,7 +1097,7 @@ const submitComment = () => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// 回复相关函数
|
// 回复相关函数
|
||||||
const startReply = (commentId: number, username: string) => {
|
const startReply = (commentId: string | number, username: string) => {
|
||||||
replyingTo.value = commentId
|
replyingTo.value = commentId
|
||||||
replyToUsername.value = username
|
replyToUsername.value = username
|
||||||
replyText.value = ''
|
replyText.value = ''
|
||||||
@ -1145,7 +1145,7 @@ const handleReplyTextareaClick = (event: MouseEvent) => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// 回复相关数据
|
// 回复相关数据
|
||||||
const replyingTo = ref<number | null>(null)
|
const replyingTo = ref<string | number | null>(null)
|
||||||
const replyText = ref('')
|
const replyText = ref('')
|
||||||
const replyToUsername = ref('')
|
const replyToUsername = ref('')
|
||||||
|
|
||||||
|
@ -326,7 +326,7 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- 回复区域示例 -->
|
<!-- 回复区域示例 -->
|
||||||
<div class="comment-replies" v-if="comment.id === 1">
|
<div class="comment-replies" v-if="String(comment.id) === '1'">
|
||||||
<!-- 讲师回复 -->
|
<!-- 讲师回复 -->
|
||||||
<div class="reply-item instructor-reply">
|
<div class="reply-item instructor-reply">
|
||||||
<div class="reply-avatar">
|
<div class="reply-avatar">
|
||||||
@ -1346,7 +1346,7 @@ const submitComment = () => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// 回复相关函数
|
// 回复相关函数
|
||||||
const startReply = (commentId: number, username: string) => {
|
const startReply = (commentId: string | number, username: string) => {
|
||||||
replyingTo.value = commentId
|
replyingTo.value = commentId
|
||||||
replyToUsername.value = username
|
replyToUsername.value = username
|
||||||
replyText.value = ''
|
replyText.value = ''
|
||||||
@ -1394,7 +1394,7 @@ const handleReplyTextareaClick = (event: MouseEvent) => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// 回复相关数据
|
// 回复相关数据
|
||||||
const replyingTo = ref<number | null>(null)
|
const replyingTo = ref<string | number | null>(null)
|
||||||
const replyText = ref('')
|
const replyText = ref('')
|
||||||
const replyToUsername = ref('')
|
const replyToUsername = ref('')
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user