1. 登录模块新增软key登录模块代码

develop
admin 2024-10-31 16:53:14 +08:00
parent 4531e96e36
commit 91a64248a5
1 changed files with 2 additions and 2 deletions

View File

@ -65,7 +65,7 @@
<el-tab-pane label="软KEY登录" name="SKEY">
<div v-if="activeName === 'SKEY'">
<!-- <div class="login-title">账号登录</div>-->
<el-form-item class="login-form-item" prop="account" :rules="[{ ...required, message: '请输入用户名' }]">
<el-form-item class="login-form-item" prop="saccount" :rules="[{ ...required, message: '请输入用户名' }]">
<el-input v-model="loginForm.saccount" autocomplete="off" placeholder="登录账户">
<template #prefix>
<el-icon>
@ -75,7 +75,7 @@
</el-input>
</el-form-item>
<el-tooltip :visible="capsTooltip" content="大写锁定已打开" placement="right" :manual="true">
<el-form-item class="login-form-item" prop="password" :rules="[{ ...required, message: '请输入密码' }]">
<el-form-item class="login-form-item" prop="spassword" :rules="[{ ...required, message: '请输入密码' }]">
<el-input show-password v-model="loginForm.spassword" placeholder="密码" @blur="capsTooltip = false" @keyup="checkCapslock">
<template #prefix>
<el-icon><icon-ep-lock /></el-icon>