fetch config
This commit is contained in:
+10
-1
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user