no message

This commit is contained in:
A1300399510
2024-01-18 19:04:24 +08:00
parent 7390c2fc72
commit d93de9dfe2
3 changed files with 4 additions and 2 deletions

View File

@@ -230,7 +230,8 @@ const openAnswerCommentsChild = (index, i) => {
// 关闭 回答-评论 的子评论 isempty 是否需要清空输入框 默认需要清空
const closeAnswerCommentsChild = (isempty = true) => {
console.log("isempty", isempty)
if (isempty) commentInput.value = ""
// if (isempty) commentInput.value = ""
commentInput.value = ""
commentList.value.forEach(ele => {
ele["childState"] = false
if (ele["child"] && ele["child"].length != 0) ele["child"].forEach(el => (el["childState"] = false))