Removed semicolons
This commit is contained in:
@@ -1,22 +1,22 @@
|
||||
<script setup lang="ts">
|
||||
import CodeEditorComponent from '@/components/CodeEditorComponent.vue';
|
||||
import CodeEditorComponent from '@/components/CodeEditorComponent.vue'
|
||||
import EncoderButton from '@/components/encoder/EncoderButtonComponent.vue'
|
||||
import { ref } from 'vue';
|
||||
import { ref } from 'vue'
|
||||
|
||||
|
||||
const data : any = ref("")
|
||||
const imageData = ref("")
|
||||
const DoshowImage = ref(false)
|
||||
const inputImage = ref();
|
||||
const inputImage = ref()
|
||||
|
||||
function setTextFieldValue(newData: string) {
|
||||
data.value = newData.toString()
|
||||
DoshowImage.value = false;
|
||||
DoshowImage.value = false
|
||||
}
|
||||
|
||||
function showImage(newImage : string){
|
||||
imageData.value = "data:image/jpeg;base64,"+newImage
|
||||
DoshowImage.value = true;
|
||||
DoshowImage.value = true
|
||||
}
|
||||
|
||||
function convertImageToBase64(file : any){
|
||||
@@ -28,7 +28,7 @@ function convertImageToBase64(file : any){
|
||||
function clear(){
|
||||
data.value = ""
|
||||
imageData.value = ""
|
||||
DoshowImage.value = false;
|
||||
DoshowImage.value = false
|
||||
inputImage.value.value = null
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user