Compare commits

...

2 Commits

Author SHA1 Message Date
Lexcubia 009d16d5c3 fix(chat): 调整聊天输入框禁用逻辑
- 在没有会话时允许用户输入
- 修复会话结束或正在回复/生成时输入框禁用的问题
2025-04-27 15:58:03 +08:00
Lexcubia 3ff35c104c refactor(components): 修改语音输入设置标题为语音设置
- 将 VoiceInputSettings 组件中的标题从 "语音输入设置" 修改为 "语音设置"
- 此修改简化了标题名称,使其更加简洁明了
2025-04-27 15:32:42 +08:00
2 changed files with 6 additions and 2 deletions

View File

@ -1,6 +1,6 @@
<template>
<div class="voice-input-settings">
<h4>语音输入设置</h4>
<h4>语音设置</h4>
<div class="settings-item">
<span class="settings-label">语音转文字后直接发送</span>
<el-switch

View File

@ -326,8 +326,12 @@ const formatTimestamp = (timestamp) => {
//
const isInputDisabled = computed(() => {
//
if (!chatStore.currentConversation) {
return false
}
// /
const status = chatStore.currentConversation?.conversationStatus
const status = chatStore.currentConversation.conversationStatus
return status !== 'active'
})