Skip to content

Self-hosted personal gallery application with online photo management and albums, supporting Live/Motion Photos, EXIF parsing, geolocation recognition, and an explore map.

feat(dashboard): 照片库新增色彩空间列

Timothy Yin19e683276bb8
diff --git a/app/pages/dashboard/photos.vue b/app/pages/dashboard/photos.vue
index b7a5292f..03916f42 100644
--- a/app/pages/dashboard/photos.vue
+++ b/app/pages/dashboard/photos.vue
@@ -16,6 +16,7 @@ useHead({
})
const dayjs = useDayjs()
+const { localizeExif } = useExifLocalization()
const { data, status, refresh } = useFetch('/api/photos')
@@ -382,6 +383,11 @@ const columns: TableColumn<Photo>[] = [
header: '文件大小',
cell: (info) => formatBytes(info.getValue() as number),
},
+ {
+ accessorKey: 'exif.ColorSpace',
+ header: '颜色空间',
+ cell: (info) => localizeExif('ColorSpace', info.getValue() as string),
+ },
{
accessorKey: 'actions',
header: '操作',