优化部分代码
This commit is contained in:
parent
e222de1850
commit
c21fd11637
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user