diff --git a/god-ui/src/App.vue b/god-ui/src/App.vue index 29de49f1..07f9da5e 100644 --- a/god-ui/src/App.vue +++ b/god-ui/src/App.vue @@ -10,15 +10,20 @@ import ThemePicker from "@/components/ThemePicker"; export default { name: "App", + created() { + this.$store.dispatch('LogOut') + }, components: { ThemePicker }, + methods:{ metaInfo() { - return { - title: this.$store.state.settings.dynamicTitle && this.$store.state.settings.title, - titleTemplate: title => { - return title ? `${title} - ${process.env.VUE_APP_TITLE}` : process.env.VUE_APP_TITLE - } + return { + title: this.$store.state.settings.dynamicTitle && this.$store.state.settings.title, + titleTemplate: title => { + return title ? `${title} - ${process.env.VUE_APP_TITLE}` : process.env.VUE_APP_TITLE } + } } + }, };