Skip to content

Commit 5b1c28a

Browse files
committed
fix: Parameter configuration function
--bug=1062940 --user=张展玮 【资源管理】资源管理列表,向量模型、语音识别模型缺少参数设置功能 https://www.tapd.cn/62980211/s/1790202
1 parent 2fc4a39 commit 5b1c28a

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

ui/src/views/system-resource-management/ModelResourceIndex.vue

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -221,10 +221,7 @@
221221
<el-dropdown-item
222222
@click.stop="openParamSetting(row)"
223223
v-if="
224-
(row.model_type === 'TTS' ||
225-
row.model_type === 'LLM' ||
226-
row.model_type === 'IMAGE' ||
227-
row.model_type === 'TTI') &&
224+
['TTS','LLM','IMAGE','TTI','STT','RERANKER'].includes(row.model_type) &&
228225
permissionPrecise.paramSetting()
229226
"
230227
>

0 commit comments

Comments
 (0)