车间能级提升-智能设备管理系统
zhuguifei
2025-04-08 3baaad59171ded6aca17340fcc907acbeeb45b7b
eims-ui/apps/web-antd/src/views/_core/authentication/login.vue
@@ -8,7 +8,7 @@
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';
@@ -50,7 +50,11 @@
}
onMounted(async () => {
  // 启动单点登录注释掉下边这一行,否则放开
  await Promise.all([loadCaptcha(), loadTenant()]);
  // 启动单点登录放开下边两行注释,否则注释掉
  // const href = await authBinding('keycloak', '000000');
  // window.location.href = href;
});
const formSchema = computed((): VbenFormSchema[] => {