refactor: 优化登录类型判断
This commit is contained in:
parent
2e61010d19
commit
304256c129
@ -138,7 +138,7 @@ onMounted(() => {
|
|||||||
user.theme()
|
user.theme()
|
||||||
}
|
}
|
||||||
user.asyncGetProfile().then((res) => {
|
user.asyncGetProfile().then((res) => {
|
||||||
if (user.isXPack) {
|
if (user.isXPack && user.XPACK_LICENSE_IS_VALID) {
|
||||||
loading.value = true
|
loading.value = true
|
||||||
user
|
user
|
||||||
.getAuthType()
|
.getAuthType()
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user