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