star7th 5 years ago
parent
commit
926ae13745
1 changed files with 1 additions and 1 deletions
  1. 1 1
      web_src/src/components/item/Password.vue

+ 1 - 1
web_src/src/components/item/Password.vue

@@ -3,7 +3,7 @@
     <Header> </Header>
 
     <el-container>
-          <el-card class="center-card">
+          <el-card class="center-card" onkeydown="if(event.keyCode==13)return false;" >
             <el-form  status-icon  label-width="0px" class="demo-ruleForm" @keyup.enter.native="onSubmit">
               <h2>{{$t('input_visit_password')}}</h2>