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

fix: 知识库文件icon模糊

parent ae77e323
...@@ -54,7 +54,7 @@ const currentKnowledgeChunkInfo = ref<KnowledgeChunkItem>({ ...defaultKnowledgeC ...@@ -54,7 +54,7 @@ const currentKnowledgeChunkInfo = ref<KnowledgeChunkItem>({ ...defaultKnowledgeC
const documentIcon = computed(() => (documentUrl: string) => { const documentIcon = computed(() => (documentUrl: string) => {
const type = documentUrl.substring(documentUrl.lastIndexOf('.') + 1) 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(() => { const emptyKnowledgeChunkListText = computed(() => {
......
...@@ -13,6 +13,7 @@ export interface KnowledgeItem { ...@@ -13,6 +13,7 @@ export interface KnowledgeItem {
trainStatus: TrainStatus trainStatus: TrainStatus
isOpen: 'Y' | 'N' isOpen: 'Y' | 'N'
createdTime: Date createdTime: Date
documentInfos: KnowledgeDocumentItem[]
} }
export interface SegmentationConfigInterface { export interface SegmentationConfigInterface {
......
...@@ -66,7 +66,7 @@ const trainFileFontColor = computed(() => (status: TrainStatus) => { ...@@ -66,7 +66,7 @@ const trainFileFontColor = computed(() => (status: TrainStatus) => {
const trainFileIcon = computed(() => (documentUrl: string) => { const trainFileIcon = computed(() => (documentUrl: string) => {
const type = documentUrl.substring(documentUrl.lastIndexOf('.') + 1) 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(() => { const isTrainFileListFinish = computed(() => {
......
...@@ -34,7 +34,7 @@ const emit = defineEmits<Emit>() ...@@ -34,7 +34,7 @@ const emit = defineEmits<Emit>()
const uploadFileList = ref<FileItem[]>([]) const uploadFileList = ref<FileItem[]>([])
const uploadFileIcon = (type: string) => { 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(() => { 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