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
} else if (
[
'.xbm',
'.tif',
'xbm',
'tif',
'pjp',
'.svgz',
'svgz',
'jpg',
'jpeg',
'ico',
'tiff',
'.gif',
'gif',
'svg',
'.jfif',
'.webp',
'.png',
'.bmp',
'jfif',
'webp',
'png',
'bmp',
'pjpeg',
'.avif'
'avif'
].includes(aft)
) {
return Image