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:
CaptainB 2025-08-04 11:39:13 +08:00
parent d635cc24b4
commit a8645b6721

View File

@ -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">