mirror of
https://gitee.com/java110/MicroCommunityWeb.git
synced 2026-02-25 14:17:54 +08:00
加入回车登录问题
This commit is contained in:
parent
8b0754320b
commit
586df3dda5
@ -1,4 +1,6 @@
|
||||
<div class="layui-form-item form_code">
|
||||
<input type="text" lay-verify="required|code" maxlength="6" v-model="validateCode" placeholder="请输入验证码" autocomplete="off" class="layui-input">
|
||||
<div class="code"><img v-bind:src="codeImage" border="0" style="cursor:pointer" alt="点击刷新验证码" width="118" height="38" v-on:click="generateCode()"></div>
|
||||
<input type="text" lay-verify="required|code" maxlength="6" v-model="validateCode" placeholder="请输入验证码"
|
||||
autocomplete="off" class="layui-input" @keyup.enter="enterToLogin">
|
||||
<div class="code"><img v-bind:src="codeImage" border="0" style="cursor:pointer" alt="点击刷新验证码" width="118"
|
||||
height="38" v-on:click="generateCode()"></div>
|
||||
</div>
|
||||
BIN
public/img/.DS_Store
vendored
Normal file
BIN
public/img/.DS_Store
vendored
Normal file
Binary file not shown.
@ -1,11 +1,11 @@
|
||||
<div>
|
||||
<div class="layui-form-item">
|
||||
<input type="text" v-model="loginInfo.username" lay-verify="required|account" maxlength="20"
|
||||
placeholder="请输入用户名" autocomplete="off" autofocus="autofocus" class="layui-input">
|
||||
placeholder="请输入用户名" autocomplete="off" autofocus="autofocus" class="layui-input" @keyup.enter="doLogin">
|
||||
</div>
|
||||
<div class="layui-form-item">
|
||||
<input type="password" v-model="loginInfo.passwd" lay-verify="required" maxlength="20" placeholder="请输入密码"
|
||||
autocomplete="off" class="layui-input">
|
||||
autocomplete="off" class="layui-input" @keyup.enter="doLogin">
|
||||
</div>
|
||||
<vc:create path="frame/validateCode"></vc:create>
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user