remove alert on form submission

This commit is contained in:
Jack Goh
2018-06-15 11:39:53 +08:00
parent 031cf4897f
commit eeaffe9018
-4
View File
@@ -433,11 +433,9 @@
getCalculationValue(formName) {
this.$refs[formName].validate((valid) => {
if (valid) {
alert('submit!');
this.dialogFormVisible = false
this.dialogFormVisible1 = true
} else {
console.log('error submit!!');
return;
}
});
@@ -518,8 +516,6 @@
default:
break
}
// axios.post('api/booking/'+ id + '/status', newBooking)
// .then((response) => {
// console.log(response)