fetch config

This commit is contained in:
2021-06-08 14:08:45 +03:00
parent 47a594dda2
commit fc67d035f7
5 changed files with 52 additions and 10 deletions
+10 -1
View File
@@ -7,7 +7,16 @@
</template>
<script>
export default {};
import { mapActions } from "vuex";
export default {
methods: {
...mapActions(["fetchConfig"]),
},
async mounted() {
await this.fetchConfig();
},
};
</script>
<style lang="less">