diff --git a/src/views/ModifyFindPost.vue b/src/views/ModifyFindPost.vue index 291f96f2d1ad1b5c92edc3ac6f7410d225055ff6..1dd18ccf50afdab24d315490b71eba446176bf11 100644 --- a/src/views/ModifyFindPost.vue +++ b/src/views/ModifyFindPost.vue @@ -69,7 +69,6 @@ export default { this.$http.put(`/finderboard/${this.post_id}`,{ findpost: this.findpost }).then((response) => { - alert(response.data.success) this.$router.push('/finderboard') }).catch((err) => { alert("Error", err) diff --git a/src/views/SignUp.vue b/src/views/SignUp.vue index 2b20f3ec77eb3188b466a53140b62a6c426f1c78..29321142d4b0bece984a56cddebc6b63fc379ea2 100644 --- a/src/views/SignUp.vue +++ b/src/views/SignUp.vue @@ -59,7 +59,7 @@ export default { }) .then((response) => { if (response.data.success === false) { - alert(response.data.message) + alert(response.data.message) } if (response.data.success === true) { this.$router.push('/login') // Login 페이지로 보내줌 diff --git a/src/views/WriteFindPost.vue b/src/views/WriteFindPost.vue index f731c13892a0b46ade82522fecd6e9d2ae482b23..c1e42a9e7ef795b438036b47281e282e7fad8a31 100644 --- a/src/views/WriteFindPost.vue +++ b/src/views/WriteFindPost.vue @@ -79,7 +79,6 @@ export default { }) }, fileSeleted: function(event){ - alert("here is fileSelected") this.file=event.target.files[0]; }, sendFile: function(){ diff --git a/src/views/WriteLostPost.vue b/src/views/WriteLostPost.vue index e0930d5621dffc39c23c78f8902fc06b71b36079..84752b3c744e77f49a0aa668b231d08cf57bf856 100644 --- a/src/views/WriteLostPost.vue +++ b/src/views/WriteLostPost.vue @@ -85,9 +85,7 @@ export default { for(let key of formData.entries()){ console.log(`${key}`); } - alert("hihihihihi") this.$http.post('/losterboard',formData,config).then((response) => { - alert("글 작성 버튼 클릭됨", response) this.$router.push('/losterboard') }).catch((err) => { alert("Error"+ err.message) @@ -96,16 +94,7 @@ export default { fileSeleted:function(event){ console.log(event.target.files); this.file=event.target.files[0]; - }, - // sendFile:function(){ - - - // this.$http.post('/losterboard/image',formData,config).then((response) => { - // console.log(response); - // }).catch((err) => { - // alert(err); - // }) - // } + } } } </script>