Browse Source

【解决todo】 清空输入框

cherishsince 1 năm trước cách đây
mục cha
commit
24c459557d
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  1. 2 0
      src/views/ai/chat/index.vue

+ 2 - 0
src/views/ai/chat/index.vue

@@ -475,6 +475,8 @@ const handleConversationClick = async (conversation: ChatConversationVO) => {
   await getMessageList()
   // 滚动底部
   scrollToBottom(true)
+  // 清空输入框
+  prompt.value = ''
   return true
 }