Skip to content
This repository has been archived by the owner on Dec 29, 2023. It is now read-only.

Commit

Permalink
Fix double login form on enter keypress
Browse files Browse the repository at this point in the history
Closes #42
  • Loading branch information
enricoberti committed Apr 2, 2020
1 parent 24d5fa6 commit a2b4501
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/views/Login.vue
Expand Up @@ -4,7 +4,7 @@
<el-col :span="10">
<el-card class="box-card">
<div class="text item">
<el-form :model="form" :rules="rules" :inline="true" ref="loginForm">
<el-form :model="form" :rules="rules" :inline="true" ref="loginForm" @submit.prevent.native="submitForm">
<el-form-item :label="$t('login.password')" prop="token">
<el-input
type="password"
Expand Down

0 comments on commit a2b4501

Please sign in to comment.