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' },
|
word: { icon: 'mdi-file-word-outline', color: 'blue-11' },
|
||||||
excel: { icon: 'mdi-file-excel-outline', color: 'green-4' },
|
excel: { icon: 'mdi-file-excel-outline', color: 'green-4' },
|
||||||
powerpoint: { icon: 'mdi-file-powerpoint-outline', color: 'orange-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' },
|
txt: { icon: 'mdi-file-document-outline', color: 'blue-11' },
|
||||||
image: { icon: 'mdi-file-image-outline', color: 'blue-11' },
|
image: { icon: 'mdi-file-image-outline', color: 'blue-11' },
|
||||||
}
|
}
|
||||||
|
|
@ -116,11 +116,11 @@ export const useFileInfoStore = defineStore('info', () => {
|
||||||
type: '.txt',
|
type: '.txt',
|
||||||
},
|
},
|
||||||
|
|
||||||
'image/x-png': {
|
'image/png': {
|
||||||
...file.image,
|
...file.image,
|
||||||
type: '.png',
|
type: '.png',
|
||||||
},
|
},
|
||||||
'image/x-citrix-jpeg': {
|
'image/jpeg': {
|
||||||
...file.image,
|
...file.image,
|
||||||
type: '.jpg, jpeg',
|
type: '.jpg, jpeg',
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue