Fixed build
This commit is contained in:
@@ -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]))
|
||||
|
||||
Reference in New Issue
Block a user