|
@@ -15,11 +15,11 @@
|
|
|
<div class="content">
|
|
|
<el-form @submit.native.prevent ref="form" :rules="rules" :model="form">
|
|
|
<el-form-item prop="pwd">
|
|
|
- <el-input show-password placeholder="请输入密码" tabindex="1" v-model="form.pwd"></el-input>
|
|
|
+ <el-input show-password placeholder="请输入密码" tabindex="1" @keyup.enter.native="onSubmit('form')" v-model="form.pwd"></el-input>
|
|
|
</el-form-item>
|
|
|
<div v-if="Number(errorNum) >= 3" class="flex-wrap">
|
|
|
<el-form-item class="flex1" prop="identify">
|
|
|
- <el-input ref="identify" v-model.trim="form.identify" placeholder="请输入验证码" name="identify" tabindex="1" />
|
|
|
+ <el-input ref="identify" v-model.trim="form.identify" @keyup.enter.native="onSubmit('form')" placeholder="请输入验证码" name="identify" tabindex="1" />
|
|
|
</el-form-item>
|
|
|
<Identify @changeCode="changeCode" :identifyCode="form.CheckCode" :contentHeight="48" style="margin-left: 24px;" />
|
|
|
</div>
|