mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-24 15:36:50 +08:00
### What problem does this PR solve? Feat: Modify the style of the dataset page #3221 ### Type of change - [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
15
web/src/constants/file.ts
Normal file
15
web/src/constants/file.ts
Normal file
@ -0,0 +1,15 @@
|
||||
export const FileIconMap = {
|
||||
doc: 'doc',
|
||||
docx: 'doc',
|
||||
pdf: 'pdf',
|
||||
xls: 'excel',
|
||||
xlsx: 'excel',
|
||||
ppt: 'ppt',
|
||||
pptx: 'ppt',
|
||||
jpg: 'jpg',
|
||||
jpeg: 'jpg',
|
||||
png: 'png',
|
||||
txt: 'text',
|
||||
csv: 'pdf',
|
||||
md: 'md',
|
||||
};
|
||||
Reference in New Issue
Block a user