Merge pull request #811 from 1Panel-dev/pr@main@refactor_login_type

refactor: 优化登录类型判断
v3.2
wxg0103 2024-07-19 15:37:34 +08:00 committed by GitHub
commit ad5ac9cb74
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -138,7 +138,7 @@ onMounted(() => {
user.theme()
}
user.asyncGetProfile().then((res) => {
if (user.isXPack) {
if (user.isXPack && user.XPACK_LICENSE_IS_VALID) {
loading.value = true
user
.getAuthType()