boton sin submit

This commit is contained in:
casnet1
2020-10-27 12:49:19 -06:00
parent d8239668c8
commit 857512a311
5 changed files with 5 additions and 6 deletions
+1 -2
View File
@@ -60,7 +60,7 @@
</div>
</form>
<button
type="submit"
class="btn btn-primary mt-5"
@click="enviar()"
v-show="nombre != '' && correo != '' && mensaje != ''"
@@ -124,7 +124,6 @@ export default {
Swal.fire({
icon: "success",
title: "Correo enviado correctamente",
timer: 2000
});
console.log(response);