hot sexy fixes for active menu

This commit is contained in:
2022-12-05 12:50:52 +01:00
parent cbdbdec06b
commit 122703eb2f
3 changed files with 46 additions and 17 deletions

View File

@ -13,6 +13,11 @@
<label>Start from last result</label>
<input type="button" value="start" @click="toggleDraw2dLast()" />
</div>
<div class="form-field">
<label>Start from picture</label><br />
<input type="file" @change="previewFile" />
<input type="button" value="start" @click="toggleDraw2dLast()" />
</div>
</MenuRow>
</template>
@ -28,6 +33,9 @@
},
methods: {
...mapActions(globalStore, ["toggleDraw2dLast", "toggleDraw2d"]),
previewFile(event) {
console.log(event.target.files);
},
},
};
</script>