diff --git a/src/views/index/DemandList.vue b/src/views/index/DemandList.vue index d245997..dc91b37 100644 --- a/src/views/index/DemandList.vue +++ b/src/views/index/DemandList.vue @@ -267,6 +267,7 @@ const fetchDemands = async () => { const showReply = (demand) => { reply.value = demand replyModal.value = true + resetReplyForm(); } // 关闭回复弹窗 @@ -305,7 +306,6 @@ const closeModal = () => { const openAddModal = (demand) => { reply.value = demand; showAddModal.value = true; - resetReplyForm(); } // 关闭弹窗