Fixed build

This commit is contained in:
2023-10-27 14:13:03 +02:00
parent bc384ef22f
commit 5b62e8f5e4

View File

@@ -4,7 +4,7 @@ import EncoderButton from '@/components/encoder/EncoderButtonComponent.vue'
import { ref } from 'vue';
const data = ref("")
const data : any = ref("")
const imageData = ref("")
const DoshowImage = ref(false)
const inputImage = ref();
@@ -19,7 +19,7 @@ function showImage(newImage : string){
DoshowImage.value = true;
}
function convertImageToBase64(file : Event){
function convertImageToBase64(file : any){
console.log(inputImage)
const reader = new FileReader()
reader.onloadend = () => (console.log(data.value = reader.result?.toString().split(',')[1]))