From 3b2a06b043160aafb2117b6015b072c326e27e9a Mon Sep 17 00:00:00 2001 From: martin chaparro Date: Sat, 14 Aug 2021 09:02:48 -0500 Subject: [PATCH] hummm .. --- APP/pages/compras.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/APP/pages/compras.vue b/APP/pages/compras.vue index cd53fa3..0ba4425 100644 --- a/APP/pages/compras.vue +++ b/APP/pages/compras.vue @@ -108,11 +108,11 @@ export default { openForm: false , }; }, - mounted() { + async mounted() { - this.$store.dispatch("getCategorias"); - this.$store.dispatch("getMetodos"); + await this.$store.dispatch("getCategorias"); + await this.$store.dispatch("getMetodos"); this.newCompra.fecha = this.$store.state.fecha; this.categorias = this.$store.state.categorias; this.metodos_pago = this.$store.state.metodos_de_pago;