Removing tag console

parent 15150632
...@@ -166,11 +166,6 @@ ...@@ -166,11 +166,6 @@
tags: {}, tags: {},
} }
}, },
watch: {
tags: function () {
console.log('changed tags');
}
},
methods: { methods: {
onSubmit() { onSubmit() {
this.form = new Form(_.merge(this.page, {tags: this.tags})); this.form = new Form(_.merge(this.page, {tags: this.tags}));
...@@ -208,10 +203,8 @@ ...@@ -208,10 +203,8 @@
fetchPage() { fetchPage() {
axios.post(route('api.page.page.find', {page: this.pageId})) axios.post(route('api.page.page.find', {page: this.pageId}))
.then(response => { .then(response => {
// console.log(response);
this.page = response.data.data; this.page = response.data.data;
this.tags = response.data.data.tags; this.tags = response.data.data.tags;
console.log(response.data.data.tags);
}) })
.catch(error => { .catch(error => {
}) })
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment