From 8d9c466cedbd3e42d12e7b74648399d446b028e7 Mon Sep 17 00:00:00 2001 From: wxg0103 <727495428@qq.com> Date: Fri, 19 Sep 2025 09:24:40 +0800 Subject: [PATCH] feat: add ITV and TTV model types to data and update model type checks --- ui/src/views/model/component/ModelCard.vue | 4 +++- ui/src/views/model/component/data.ts | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/ui/src/views/model/component/ModelCard.vue b/ui/src/views/model/component/ModelCard.vue index 2bc6109dd..87a443145 100644 --- a/ui/src/views/model/component/ModelCard.vue +++ b/ui/src/views/model/component/ModelCard.vue @@ -92,7 +92,9 @@ (currentModel.model_type === 'TTS' || currentModel.model_type === 'LLM' || currentModel.model_type === 'IMAGE' || - currentModel.model_type === 'TTI') && + currentModel.model_type === 'TTI' || + currentModel.model_type === 'ITV' || + currentModel.model_type === 'TTV') && permissionPrecise.paramSetting(model.id) " @click.stop="openParamSetting" diff --git a/ui/src/views/model/component/data.ts b/ui/src/views/model/component/data.ts index 97806c5ff..7897dddf5 100644 --- a/ui/src/views/model/component/data.ts +++ b/ui/src/views/model/component/data.ts @@ -7,7 +7,9 @@ export const modelTypeList = [ { text: t(modelType['STT']), value: 'STT' }, { text: t(modelType['TTS']), value: 'TTS' }, { text: t(modelType['IMAGE']), value: 'IMAGE' }, - { text: t(modelType['TTI']), value: 'TTI' } + { text: t(modelType['TTI']), value: 'TTI' }, + { text: t(modelType['ITV']), value: 'ITV' }, + { text: t(modelType['TTV']), value: 'TTV' }, ]