Browse Source

登录按钮不可用状态时不可点击

zhangxc 6 years ago
parent
commit
7189a21f11
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/components/login/Login.vue

+ 1 - 1
src/components/login/Login.vue

@@ -27,7 +27,7 @@
                             <span class="pwd" @click="toForgetPsw">忘记密码?</span>
                         </el-form-item>
                         <el-form-item>
-                            <el-button plain v-if="otherCor" @click="submitForm('ruleForm2')">登录</el-button>
+                            <el-button plain v-if="otherCor" >登录</el-button>
                             <el-button ref="btn" v-else class="otherCor" plain @click="submitForm('ruleForm2')">登录
                             </el-button>
                         </el-form-item>