| | |
| | | |
| | | import { omit } from 'lodash-es'; |
| | | |
| | | import { tenantList, type TenantResp } from '#/api'; |
| | | import { authBinding, tenantList, type TenantResp } from '#/api'; |
| | | import { captchaImage, type CaptchaResponse } from '#/api/core/captcha'; |
| | | import { useAuthStore } from '#/store'; |
| | | |
| | |
| | | } |
| | | |
| | | onMounted(async () => { |
| | | // 启动单点登录注释掉下边这一行,否则放开 |
| | | await Promise.all([loadCaptcha(), loadTenant()]); |
| | | // 启动单点登录放开下边两行注释,否则注释掉 |
| | | // const href = await authBinding('keycloak', '000000'); |
| | | // window.location.href = href; |
| | | }); |
| | | |
| | | const formSchema = computed((): VbenFormSchema[] => { |