fix: add file-name to contentType labels
All checks were successful
Deploy Admin Frontend / build-and-deploy (push) Successful in 9s

This commit is contained in:
wangdl 2026-06-19 13:27:31 +08:00
parent 2400e48777
commit a19138871f

View File

@ -5,7 +5,7 @@ import { api } from '@/services/http-client'
import dayjs from 'dayjs'
const contentTypeLabels: Record<string, string> = {
text: '文本', image: '图片', chat: '聊天', knowledge_item: '知识点', knowledge_base: '知识库',
text: '文本', image: '图片', chat: '聊天', 'file-name': '文件名', knowledge_item: '知识点', knowledge_base: '知识库',
}
const riskLabels: Record<string, string> = { critical: '严重', high: '高', medium: '中', low: '低' }
const resultLabels: Record<string, string> = { pending: '待审核', passed: '通过', blocked: '拦截' }