Browse Source

【解决todo】 清空输入框

cherishsince 1 year ago
parent
commit
24c459557d
1 changed files with 2 additions and 0 deletions
  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
 }