From 9c887fee01298f7c75164f2a1b4a24f24b786391 Mon Sep 17 00:00:00 2001 From: Neeraj Sharma Date: Fri, 27 Dec 2019 17:31:08 +0530 Subject: [PATCH] changes --- src/pages/Students/students.vue | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/src/pages/Students/students.vue b/src/pages/Students/students.vue index 43d692d..239f293 100644 --- a/src/pages/Students/students.vue +++ b/src/pages/Students/students.vue @@ -2130,7 +2130,7 @@ export default { this.dialog = true; }, profile(item) { - console.log("item", item); + // console.log("item", item); this.editedIndex = this.desserts.indexOf(item); this.editedItem = Object.assign({}, item); this.editedItem.fatherName = item.parentId.fatherName; @@ -2153,9 +2153,8 @@ export default { ) .then(response => { // console.log("deleteUers",deleteStudent) - if ((this.snackbar = true)) { - this.text = "Successfully delete Existing Student"; - } + this.snackbar = true; + this.text = "Successfully delete Existing Student"; this.getStudentList(); }) .catch(error => { @@ -2229,9 +2228,8 @@ export default { }) .catch(error => { // console.log(error); - if ((this.snackbar = true)) { - this.text = error.response.data.message; - } + this.snackbar = true; + this.text = error.response.data.message; this.loading = false; }); } -- 2.0.0