style: 浏览器播放的语音不展示设置
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
Typos Check / Spell Check with Typos (push) Waiting to run

This commit is contained in:
CaptainB 2024-10-16 17:12:37 +08:00 committed by 刘瑞斌
parent 226cfc440f
commit 5a9c92b915
2 changed files with 7 additions and 5 deletions

View File

@ -397,10 +397,11 @@
<span class="mr-4">语音播放</span>
<div>
<el-button
v-if="applicationForm.tts_type === 'TTS'"
type="primary"
link
@click="openTTSParamSettingDialog"
:disabled="!applicationForm.tts_model_id || applicationForm.tts_type === 'BROWSER'"
:disabled="!applicationForm.tts_model_id"
>
<el-icon class="mr-4"><Setting /></el-icon>
设置

View File

@ -178,10 +178,11 @@
<span class="mr-4">语音播放</span>
<div>
<el-button
type="primary"
link
@click="openTTSParamSettingDialog"
:disabled="!form_data.tts_model_id || form_data.tts_type === 'BROWSER'"
v-if="form_data.tts_type === 'TTS'"
type="primary"
link
@click="openTTSParamSettingDialog"
:disabled="!form_data.tts_model_id"
>
<el-icon class="mr-4"><Setting /></el-icon>
设置