Aguarda Vuex Dispatch True

mounted() {
    this.loading = true;

    this.$store.dispatch('module/function', 'value').then((response) => {
        this.loading = false;
    });
},
RedBredren