|
@@ -422,7 +422,11 @@ function addReply(item, parentId) {
|
|
}
|
|
}
|
|
|
|
|
|
showInput.value = true
|
|
showInput.value = true
|
|
- textareaRef.value?.focus()
|
|
|
|
|
|
+
|
|
|
|
+ nextTick(() => {
|
|
|
|
+ textareaRef.value?.focus()
|
|
|
|
+ })
|
|
|
|
+
|
|
replyComment.value = item
|
|
replyComment.value = item
|
|
|
|
|
|
parentId && (replyComment.value.parentId = parentId)
|
|
parentId && (replyComment.value.parentId = parentId)
|