Просмотр исходного кода

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

丸子 4 месяцев назад
Родитель
Сommit
8ba4315559
1 измененных файлов с 2 добавлено и 2 удалено
  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"