diff --git a/pages/login/login.vue b/pages/login/login.vue index bc43f41..3c3036b 100644 --- a/pages/login/login.vue +++ b/pages/login/login.vue @@ -140,7 +140,7 @@ } }, }, - created(){ + mounted(){ getTenantIdByWebsite(this.tenantCode).then(res => { const tenantId = res.data; if (tenantId && tenantId >= 0) {