切换详情重置初始值
This commit is contained in:
@@ -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()
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user