tristan-wip #2

Merged
TristanBrault merged 34 commits from tristan-wip into main 2025-07-19 19:58:58 +00:00
4 changed files with 6 additions and 6 deletions
Showing only changes of commit d246b5cd3d - Show all commits

View File

@ -13,17 +13,17 @@
import { ref, watch } from "vue"; import { ref, watch } from "vue";
import { ImageManager } from "../utils/image-manager"; import { ImageManager } from "../utils/image-manager";
defineProps<{ const props = defineProps<{
key: string key: string
src: string src: string
alt: string alt: string
}>() }>();
const blobUrl = ref<string | null>(null); const blobUrl = ref<string | null>(null);
watch(() => props.imageUrl, async (newUrl) => { watch(() => props.src, async (newUrl) => {
blobUrl.value = await ImageManager.getBlob(key, newUrl); console.log(newUrl);
blobUrl.value = await ImageManager.getImage(props.key, newUrl);
console.log(blobUrl.value);
}, { immediate: true }); }, { immediate: true });
console.log(src)
</script> </script>

0
frontend/wailsjs/runtime/package.json Executable file → Normal file
View File

0
frontend/wailsjs/runtime/runtime.d.ts vendored Executable file → Normal file
View File

0
frontend/wailsjs/runtime/runtime.js Executable file → Normal file
View File