|
@@ -30,7 +30,7 @@
|
|
|
</el-form-item>
|
|
|
<el-form-item prop="mobile" class="firmRightName">
|
|
|
<el-col :span="16">
|
|
|
- <el-input placeholder="验证码" prefix-icon="el-icon-lock" v-model="verifyForm.code" @keyup.enter="toSubmit"></el-input>
|
|
|
+ <el-input placeholder="验证码" prefix-icon="el-icon-lock" v-model="verifyForm.code"></el-input>
|
|
|
</el-col>
|
|
|
<el-col :span="8" class="firmRightImg">
|
|
|
<verify v-model="verifyForm.code_id" ref="verifyPic"></verify>
|
|
@@ -50,7 +50,7 @@
|
|
|
</el-col>
|
|
|
<el-col :span="8" class="firmRight" v-else>
|
|
|
<el-col :span="20" class="firmRightTop">
|
|
|
- <span>企业登录<span style="color: #ff4500;">(建议您使用谷歌浏览器)</span></span>
|
|
|
+ <span>企业登录<span style="color: #ff4500;"></span></span>
|
|
|
</el-col>
|
|
|
<el-col :span="4" class="el-icon-s-platform" style="zoom:1.5" @click.native="loginType = 0"> </el-col>
|
|
|
<el-col :span="24" style="text-align:center;">
|
|
@@ -137,6 +137,7 @@ export default {
|
|
|
}),
|
|
|
created() {
|
|
|
this.initQrcode();
|
|
|
+ this.enterListen();
|
|
|
},
|
|
|
computed: {},
|
|
|
methods: {
|
|
@@ -205,6 +206,15 @@ export default {
|
|
|
this.dialog = false;
|
|
|
}
|
|
|
},
|
|
|
+ enterListen() {
|
|
|
+ var lett = this;
|
|
|
+ document.onkeydown = function(e) {
|
|
|
+ var key = window.event.keyCode;
|
|
|
+ if (key == 13) {
|
|
|
+ lett.toSubmit();
|
|
|
+ }
|
|
|
+ };
|
|
|
+ },
|
|
|
},
|
|
|
};
|
|
|
</script>
|