Cleanup option view.
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user