mirror of
https://github.com/danbulant/Nertivia-Client
synced 2026-06-24 17:11:43 +00:00
Fixed a bug that prevented you from logging&signup
This commit is contained in:
parent
46533fa53a
commit
112f07fbc4
2 changed files with 4 additions and 2 deletions
|
|
@ -15,7 +15,7 @@
|
||||||
v-if="!showCaptcha"
|
v-if="!showCaptcha"
|
||||||
action="#"
|
action="#"
|
||||||
@submit.prevent="submitForm"
|
@submit.prevent="submitForm"
|
||||||
@keydown.prevent="keyDownEvent"
|
@keydown="keyDownEvent"
|
||||||
>
|
>
|
||||||
<div class="input">
|
<div class="input">
|
||||||
<div class="input-text">
|
<div class="input-text">
|
||||||
|
|
@ -104,6 +104,7 @@ export default {
|
||||||
},
|
},
|
||||||
keyDownEvent(event) {
|
keyDownEvent(event) {
|
||||||
if (event.keyCode === 13) {
|
if (event.keyCode === 13) {
|
||||||
|
event.preventDefault();
|
||||||
this.submitForm();
|
this.submitForm();
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,7 @@
|
||||||
v-if="!showCaptcha"
|
v-if="!showCaptcha"
|
||||||
action="#"
|
action="#"
|
||||||
@submit.prevent="formSubmit"
|
@submit.prevent="formSubmit"
|
||||||
@keydown.prevent="keyDownEvent"
|
@keydown="keyDownEvent"
|
||||||
>
|
>
|
||||||
<div class="input">
|
<div class="input">
|
||||||
<div class="input-text">
|
<div class="input-text">
|
||||||
|
|
@ -116,6 +116,7 @@ export default {
|
||||||
},
|
},
|
||||||
keyDownEvent(event) {
|
keyDownEvent(event) {
|
||||||
if (event.keyCode === 13) {
|
if (event.keyCode === 13) {
|
||||||
|
event.preventDefault();
|
||||||
this.formSubmit();
|
this.formSubmit();
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue