Esperando a que pedido esté definido
This commit is contained in:
parent
5a0cf73218
commit
8fbfa75144
1 changed files with 2 additions and 0 deletions
|
@ -21,9 +21,11 @@ export default {
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
...mapActions('productos',["init"]),
|
...mapActions('productos',["init"]),
|
||||||
|
...mapActions('pedido',["getPedido"]),
|
||||||
},
|
},
|
||||||
async mounted() {
|
async mounted() {
|
||||||
await this.init();
|
await this.init();
|
||||||
|
await this.getPedido();
|
||||||
Event.$on('toggle-chismosa', (activa) => {
|
Event.$on('toggle-chismosa', (activa) => {
|
||||||
this.chismosaActiva = activa;
|
this.chismosaActiva = activa;
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Reference in a new issue