<el-form ref="loginForm" :model="loginForm" :rules="loginFormRules" label-width="80px"><!-- 用户名 --><el-form-item label="用户名" prop="userName"><el-input v-model="loginForm.userName" prefix-icon="el-icon-user" clearable @keyup.enter.native="submitForm('loginForm')"></el-input></el-form-item><!-- 密码 --><el-form-item label="密码" prop="passWord" style="margin-bottom: 0;"><el-input v-model="loginForm.passWord" prefix-icon="el-icon-lock" type="password" show-password @keyup.enter.native="submitForm('loginForm')"></el-input></el-form-item>
</el-form>