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.

refactor(useImageLoader): 修复组件卸载时的清理调用

Timothy Yin9d00d2120c7b
diff --git a/app/composables/useImageLoader.ts b/app/composables/useImageLoader.ts
index ffa70c99..e159467a 100644
--- a/app/composables/useImageLoader.ts
+++ b/app/composables/useImageLoader.ts
@@ -48,10 +48,6 @@ export const useImageLoader = (
}
}
- onUnmounted(() => {
- cleanup()
- })
-
cleanup()
loadImage()