Commit 5147ed7c authored by nick zheng's avatar nick zheng

fix: 知识库文件icon模糊

parent ae77e323
......@@ -54,7 +54,7 @@ const currentKnowledgeChunkInfo = ref<KnowledgeChunkItem>({ ...defaultKnowledgeC
const documentIcon = computed(() => (documentUrl: string) => {
const type = documentUrl.substring(documentUrl.lastIndexOf('.') + 1)
return `https://gsst-poe-sit.gz.bcebos.com/icon/${type}.png`
return `https://gsst-poe-sit.gz.bcebos.com/icon/${type}.svg`
})
const emptyKnowledgeChunkListText = computed(() => {
......
......@@ -13,6 +13,7 @@ export interface KnowledgeItem {
trainStatus: TrainStatus
isOpen: 'Y' | 'N'
createdTime: Date
documentInfos: KnowledgeDocumentItem[]
}
export interface SegmentationConfigInterface {
......
......@@ -66,7 +66,7 @@ const trainFileFontColor = computed(() => (status: TrainStatus) => {
const trainFileIcon = computed(() => (documentUrl: string) => {
const type = documentUrl.substring(documentUrl.lastIndexOf('.') + 1)
return `https://gsst-poe-sit.gz.bcebos.com/icon/${type}.png`
return `https://gsst-poe-sit.gz.bcebos.com/icon/${type}.svg`
})
const isTrainFileListFinish = computed(() => {
......
......@@ -34,7 +34,7 @@ const emit = defineEmits<Emit>()
const uploadFileList = ref<FileItem[]>([])
const uploadFileIcon = (type: string) => {
return `https://gsst-poe-sit.gz.bcebos.com/icon/${type}.png`
return `https://gsst-poe-sit.gz.bcebos.com/icon/${type}.svg`
}
const isDisabledNextBtn = computed(() => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment