|
@@ -164,9 +164,9 @@ export default defineComponent({
|
|
SystemConfigStore().getSystemConfigs()
|
|
SystemConfigStore().getSystemConfigs()
|
|
})
|
|
})
|
|
|
|
|
|
- onUnmounted(() => {
|
|
|
|
- console.log('卸载了')
|
|
|
|
- })
|
|
|
|
|
|
+ // onUnmounted(() => {
|
|
|
|
+ // console.log('卸载了')
|
|
|
|
+ // })
|
|
|
|
|
|
return {
|
|
return {
|
|
refreshCaptcha,
|
|
refreshCaptcha,
|
|
@@ -186,6 +186,7 @@ export default defineComponent({
|
|
<el-form ref="formRef" size="large" class="login-content-form" :model="state.ruleForm" :rules="rules">
|
|
<el-form ref="formRef" size="large" class="login-content-form" :model="state.ruleForm" :rules="rules">
|
|
<el-form-item class="login-animation1" prop="username">
|
|
<el-form-item class="login-animation1" prop="username">
|
|
<el-input
|
|
<el-input
|
|
|
|
+ @keydown.enter="loginClick"
|
|
type="text"
|
|
type="text"
|
|
:placeholder="$t('message.account.accountPlaceholder1')"
|
|
:placeholder="$t('message.account.accountPlaceholder1')"
|
|
v-model="ruleForm.username"
|
|
v-model="ruleForm.username"
|
|
@@ -200,6 +201,7 @@ export default defineComponent({
|
|
</el-form-item>
|
|
</el-form-item>
|
|
<el-form-item class="login-animation2" prop="password">
|
|
<el-form-item class="login-animation2" prop="password">
|
|
<el-input
|
|
<el-input
|
|
|
|
+ @keydown.enter="loginClick"
|
|
:type="isShowPassword ? 'text' : 'password'"
|
|
:type="isShowPassword ? 'text' : 'password'"
|
|
:placeholder="$t('message.account.accountPlaceholder2')"
|
|
:placeholder="$t('message.account.accountPlaceholder2')"
|
|
v-model="ruleForm.password">
|
|
v-model="ruleForm.password">
|
|
@@ -245,7 +247,7 @@ export default defineComponent({
|
|
type="primary"
|
|
type="primary"
|
|
class="login-content-submit"
|
|
class="login-content-submit"
|
|
round
|
|
round
|
|
- @keyup.enter="loginClick"
|
|
|
|
|
|
+ @keydown.enter="loginClick"
|
|
@click="loginClick"
|
|
@click="loginClick"
|
|
:loading="loading.signIn">
|
|
:loading="loading.signIn">
|
|
<span>{{ $t('message.account.accountBtnText') }}</span>
|
|
<span>{{ $t('message.account.accountBtnText') }}</span>
|