fix: add file-name to contentType labels
All checks were successful
Deploy Admin Frontend / build-and-deploy (push) Successful in 9s
All checks were successful
Deploy Admin Frontend / build-and-deploy (push) Successful in 9s
This commit is contained in:
parent
2400e48777
commit
a19138871f
@ -5,7 +5,7 @@ import { api } from '@/services/http-client'
|
|||||||
import dayjs from 'dayjs'
|
import dayjs from 'dayjs'
|
||||||
|
|
||||||
const contentTypeLabels: Record<string, string> = {
|
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 riskLabels: Record<string, string> = { critical: '严重', high: '高', medium: '中', low: '低' }
|
||||||
const resultLabels: Record<string, string> = { pending: '待审核', passed: '通过', blocked: '拦截' }
|
const resultLabels: Record<string, string> = { pending: '待审核', passed: '通过', blocked: '拦截' }
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user