| | |
| | | /> |
| | | </el-form-item> |
| | | <el-form-item prop="verify"> |
| | | <div |
| | | style="display: flex; justify-content: space-between; width: 100%" |
| | | > |
| | | <div style="display: flex; justify-content: space-between; width: 100%"> |
| | | <el-input |
| | | placeholder="请输入验证码(忽略大小写)" |
| | | v-model="ruleForm.verify" |
| | |
| | | type="primary" |
| | | class="nobr loginbtn btnbox" |
| | | @click="submitForm(ruleFormRef)" |
| | | >登录</el-button |
| | | > |
| | | >登录</el-button> |
| | | </el-form-item> |
| | | </el-form> |
| | | </div> |
| | |
| | | |
| | | formEl.validate((valid) => { |
| | | if (valid) { |
| | | console.log("submit!"); |
| | | setLogin(); |
| | | } else { |
| | | emitter.emit("handleDraw", true); |
| | | console.log("erro submit!"); |
| | | |
| | | return false; |
| | | } |
| | | }); |