Explorar el Código

处理语音输入组件追加bug

liyanbo hace 3 meses
padre
commit
b7d191f93c
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/components/ai/text/TextToText.vue

+ 1 - 1
src/components/ai/text/TextToText.vue

@@ -210,7 +210,7 @@ const getConversation = async (id) => {
 
 // 语音输入识别结果处理
 const handleVoiceRecognized = (text) => {
-  prompt.value += text;
+  prompt.value = text;
 };
 
 // =========== 【聊天对话】相关 ===========