|
@@ -408,9 +408,10 @@ onUnmounted(() => $message.destroyAll());
|
|
|
v-if="allowLoginType.includes('IDENTITY_NUMBER')"
|
|
|
key="IDENTITY_NUMBER"
|
|
|
:class="{
|
|
|
- 'active-type': formValue.accountType === 'IDENTITY_NUMBER',
|
|
|
+ 'active-type':
|
|
|
+ formValue.accountType === 'STUDENT_IDENTITY_NUMBER',
|
|
|
}"
|
|
|
- @click="formValue.accountType = 'IDENTITY_NUMBER'"
|
|
|
+ @click="formValue.accountType = 'STUDENT_IDENTITY_NUMBER'"
|
|
|
>
|
|
|
{{ QECSConfig.IDENTITY_NUMBER_LOGIN_ALIAS }}
|
|
|
</a>
|
|
@@ -438,7 +439,7 @@ onUnmounted(() => $message.destroyAll());
|
|
|
<n-input
|
|
|
v-model:value="formValue.password"
|
|
|
type="password"
|
|
|
- @onEnter="loginForuser"
|
|
|
+ @keypress.enter="loginForuser"
|
|
|
>
|
|
|
<template #prefix>
|
|
|
<n-icon :component="LockClosed" />
|