mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-26 01:33:05 +00:00
Merge pull request #811 from 1Panel-dev/pr@main@refactor_login_type
refactor: 优化登录类型判断
This commit is contained in:
commit
ad5ac9cb74
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Reference in New Issue