diff --git a/web/html/login.html b/web/html/login.html index 1b6478de..ea298168 100644 --- a/web/html/login.html +++ b/web/html/login.html @@ -120,10 +120,10 @@ secretEnable: false, lang: "" }, - created() { + async created() { this.updateBackground(); this.lang = getLang(); - this.secretEnable = this.getSecretStatus(); + this.secretEnable = await this.getSecretStatus(); }, methods: { async login() {