mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-26 01:33:05 +00:00
fix: update tool type display logic in ToolResourceIndex.vue for improved clarity
--bug=1059949 --user=刘瑞斌 【资源管理】工具列表,内置工具的类型显示错误 https://www.tapd.cn/62980211/s/1748031
This commit is contained in:
parent
d635cc24b4
commit
a8645b6721
|
|
@ -72,7 +72,7 @@
|
|||
|
||||
<el-table-column prop="tool_type" :label="$t('views.system.resource_management.type')">
|
||||
<template #default="scope">
|
||||
{{ $t(ToolType[scope.row.tool_type as keyof typeof ToolType]) }}
|
||||
{{ $t(ToolType[scope.row.template_id ? 'INTERNAL' : 'CUSTOM' as keyof typeof ToolType]) }}
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column :label="$t('common.status.label')" width="120">
|
||||
|
|
|
|||
Loading…
Reference in New Issue