fix: 修正miaoDirectoryItem部分图片文件图标显示错误问题

This commit is contained in:
539943419 committed 2024-08-30 21:25:40 +08:00
1 parent 7574acdad2
commit 3e24d4a363
1 file changed
+9 -9
@@ -177,22 +177,22 @@ const Icon = computed(() => {
return Disc return Disc
} else if ( } else if (
[ [
'.xbm', 'xbm',
'.tif', 'tif',
'pjp', 'pjp',
'.svgz', 'svgz',
'jpg', 'jpg',
'jpeg', 'jpeg',
'ico', 'ico',
'tiff', 'tiff',
'.gif', 'gif',
'svg', 'svg',
'.jfif', 'jfif',
'.webp', 'webp',
'.png', 'png',
'.bmp', 'bmp',
'pjpeg', 'pjpeg',
'.avif' 'avif'
].includes(aft) ].includes(aft)
) { ) {
return Image return Image