This commit is contained in:
Trit0 2025-06-30 20:51:10 -04:00
parent 0b0e6af52a
commit f4e6226d5a
4 changed files with 6 additions and 6 deletions

View File

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