feat(settings): 增加自动语音播报设置选项
在 VoiceInputSettings 组件中添加了自动语音播报(TTS)的设置选项。用户可以通过开关来启用或禁用此功能。
This commit is contained in:
parent
a101fc182b
commit
a048f4bc2b
|
@ -8,6 +8,13 @@
|
|||
@change="updateSettings"
|
||||
/>
|
||||
</div>
|
||||
<div class="settings-item">
|
||||
<span class="settings-label">自动语音播报</span>
|
||||
<el-switch
|
||||
v-model="voiceInputSettings.autoTTS"
|
||||
@change="updateSettings"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
|
|
|
@ -29,9 +29,11 @@ export const useSettingsStore = defineStore('settings', {
|
|||
theme: 'default',
|
||||
// 动画效果开关
|
||||
animationsEnabled: true,
|
||||
// 语音输入设置
|
||||
// 语音设置
|
||||
voiceInputSettings: {
|
||||
sendDirectly: true, // 语音转文字后直接发送
|
||||
// 自动文字语音播报
|
||||
autoTTS: false,
|
||||
},
|
||||
}),
|
||||
|
||||
|
|
Loading…
Reference in New Issue