hummm ..
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user