|
@@ -67,8 +67,8 @@
|
|
|
</div>
|
|
</div>
|
|
|
<div class="dialogue-content">
|
|
<div class="dialogue-content">
|
|
|
<textarea
|
|
<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"
|
|
class="user-input-textarea"
|
|
|
placeholder="请输入内容..."
|
|
placeholder="请输入内容..."
|
|
|
@keyup.enter.exact="submitUserInput"
|
|
@keyup.enter.exact="submitUserInput"
|