Ver Fonte

Merge branch 'muzi' of http://59.110.91.129:3000/zhangmengying/AIClass into wanzi

丸子 há 4 meses atrás
pai
commit
8ba4315559
1 ficheiros alterados com 2 adições e 2 exclusões
  1. 2 2
      src/views/AIPage/aiGenerate/DialogContent.vue

+ 2 - 2
src/views/AIPage/aiGenerate/DialogContent.vue

@@ -67,8 +67,8 @@
         </div>
         <div class="dialogue-content">
           <textarea
-            :value="isVoiceRecording ? userInput + (userInput ? ' ' : '') + voiceRecognizedText : userInput"
-            @input="e => { if (!isVoiceRecording) userInput = e.target.value }"
+            :value="userInput"
+            @input="e => userInput = e.target.value"
             class="user-input-textarea"
             placeholder="请输入内容..."
             @keyup.enter.exact="submitUserInput"