车间能级提升-智能设备管理系统
baoshiwei
2025-05-29 21811bad262b3f774ca7c12a68e0bf64a8321501
eims-ui/apps/web-antd/src/views/_core/authentication/login.vue
@@ -51,10 +51,10 @@
onMounted(async () => {
  // 启动单点登录注释掉下边这一行,否则放开
  await Promise.all([loadCaptcha(), loadTenant()]);
  // await Promise.all([loadCaptcha(), loadTenant()]);
  // 启动单点登录放开下边两行注释,否则注释掉
  // const href = await authBinding('keycloak', '000000');
  // window.location.href = href;
  const href = await authBinding('keycloak', '000000');
  window.location.href = href;
});
const formSchema = computed((): VbenFormSchema[] => {
@@ -93,7 +93,7 @@
        class: 'focus:border-primary',
        placeholder: $t('authentication.usernameTip'),
      },
      defaultValue: 'admin',
      defaultValue: 'test',
      fieldName: 'username',
      label: $t('authentication.username'),
      rules: z.string().min(1, { message: $t('authentication.usernameTip') }),
@@ -104,7 +104,7 @@
        class: 'focus:border-primary',
        placeholder: $t('authentication.password'),
      },
      defaultValue: 'admin123',
      defaultValue: '123456',
      fieldName: 'password',
      label: $t('authentication.password'),
      rules: z.string().min(5, { message: $t('authentication.passwordTip') }),