Cleanup option view.

This commit is contained in:
2025-01-18 14:17:13 +01:00
parent 372a417aaf
commit 2f37ac5711

View File

@@ -389,8 +389,6 @@
reader = new FileReader(); reader = new FileReader();
reader.onload = e => { reader.onload = e => {
this.options.company_logo = e.target.result; this.options.company_logo = e.target.result;
console.log(e.target.result);
}; };
reader.readAsDataURL(files[0]); reader.readAsDataURL(files[0]);
}, },
@@ -401,7 +399,6 @@
submit() { submit() {
let vm = this; let vm = this;
console.log(vm.options);
axios.post('/option', vm.options) axios.post('/option', vm.options)
.then(function (response) { .then(function (response) {
console.log(response.data); console.log(response.data);