diff --git a/src/views/index/DemandList.vue b/src/views/index/DemandList.vue index d5c62a1..8e24374 100644 --- a/src/views/index/DemandList.vue +++ b/src/views/index/DemandList.vue @@ -330,6 +330,10 @@ const submitReply = async () => { console.log('提交的回复数据:', payload); await updateDemand(reply.value.id, payload); replyModal.value = false; + addForm.value.sendcontent = ''; + if (autoTextarea.value) { + autoTextarea.value.style.height = 'auto'; + } fetchDemands(); // 刷新列表 } catch (e) { console.error('提交回复失败:', e);