fix all present bug and remove console.log

This commit is contained in:
jslightham
2020-04-15 09:54:30 -04:00
parent 93956f9ab5
commit 3a03688e6a
8 changed files with 209 additions and 82 deletions

View File

@@ -123,7 +123,7 @@ export default {
this.checkAccount();
this.post.user = this.user;
//alert(this.post.user);
let uri = 'http://65.92.152.100:4000/attendance/attendees';
let uri = 'http://localhost:4000/attendance/attendees';
this.axios.post(uri, this.post).then(res => {
this.attendees = res.data;
console.log(this.attendees);
@@ -152,7 +152,7 @@ export default {
del(id){
this.post.id = id;
//alert(id);
let uri = 'http://65.92.152.100:4000/attendance/delete';
let uri = 'http://localhost:4000/attendance/delete';
this.axios.post(uri, this.post).then(() => {
location.reload();
});
@@ -161,7 +161,7 @@ export default {
//alert(this.attendee.name);
this.attendee.user = this.user;
let uri = 'http://65.92.152.100:4000/attendance/add';
let uri = 'http://localhost:4000/attendance/add';
this.axios.post(uri, this.attendee).then(() => {
location.reload();
});