切换详情重置初始值

This commit is contained in:
A1300399510
2025-02-07 11:59:53 +08:00
parent 1e84686deb
commit 0276323583
14 changed files with 69 additions and 63 deletions

View File

@@ -202,6 +202,7 @@ const uploadImg = inject("uploadImg")
const handleAnswerText = inject("handleAnswerText")
const emojiMaskState = inject("emojiMaskState")
const user = inject("user")
const detailLoading = inject("detailLoading")
// 点击ta的主页
@@ -295,6 +296,9 @@ watch(
commentPage.value = 1
commentList.value = []
picture.value = {}
commentTotalCount.value = 0
commentCount.value = 0
alreadyCommentIdList = []
getComment()
}
},