From 0122d0942723d32e8209513166cb4b6a8fce03ca Mon Sep 17 00:00:00 2001 From: likehai Date: Wed, 13 Dec 2023 18:18:43 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=87=E6=8D=A2=E7=AB=AF=E5=8F=A3=20=20?= =?UTF-8?q?=E5=BC=BA=E5=88=B6=20=E9=87=8D=E6=96=B0=E7=99=BB=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- god-ui/src/App.vue | 15 ++-- .../personnelGathering/index.vue | 68 +++++++++---------- 2 files changed, 44 insertions(+), 39 deletions(-) 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 } + } } + }, };