fix: pdf and image icon
This commit is contained in:
parent
3f29b65b2c
commit
dea2df2f9b
1 changed files with 3 additions and 3 deletions
|
|
@ -17,7 +17,7 @@ export const useFileInfoStore = defineStore('info', () => {
|
|||
word: { icon: 'mdi-file-word-outline', color: 'blue-11' },
|
||||
excel: { icon: 'mdi-file-excel-outline', color: 'green-4' },
|
||||
powerpoint: { icon: 'mdi-file-powerpoint-outline', color: 'orange-4' },
|
||||
pdf: { icon: 'mdi-file-document-outline', color: 'red-11' },
|
||||
pdf: { icon: 'mdi-file-pdf-outline', color: 'red-11' },
|
||||
txt: { icon: 'mdi-file-document-outline', color: 'blue-11' },
|
||||
image: { icon: 'mdi-file-image-outline', color: 'blue-11' },
|
||||
}
|
||||
|
|
@ -116,11 +116,11 @@ export const useFileInfoStore = defineStore('info', () => {
|
|||
type: '.txt',
|
||||
},
|
||||
|
||||
'image/x-png': {
|
||||
'image/png': {
|
||||
...file.image,
|
||||
type: '.png',
|
||||
},
|
||||
'image/x-citrix-jpeg': {
|
||||
'image/jpeg': {
|
||||
...file.image,
|
||||
type: '.jpg, jpeg',
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue