Commit fb1a3261 authored by 张伯涛's avatar 张伯涛

修改

parent 15bb989e
......@@ -80,9 +80,10 @@
</el-checkbox>
<span style="color: #1A78E5;cursor: pointer;font-size: 15px" @click="showAgreement">《石家庄高新区企业服务平台注册协议》</span>
</el-form-item>
<el-form-item v-if="loginType === 'forgetPasWord'" class="forminput" label="新密码" prop="newPassword">
<div v-if="loginType === 'forgetPasWord'">
<el-form-item class="forminput" label="新密码" prop="newPassword">
<el-input
v-model="loginForm.newPassword"
v-model.trim="loginForm.newPassword"
:maxlength="16"
:minlength="6"
type="password"
......@@ -93,6 +94,7 @@
<svg-icon slot="prefix" icon-class="password" class="el-input__icon input-icon" />
</el-input>
</el-form-item>
</div>
<div class="phoneLoginBtn">
<el-button v-if="loginType === 'password'" class="typeBtn" type="text" @click="handlePasswordLogin('phone')">手机快捷登录</el-button>
<el-button v-if="loginType === 'phone'" class="typeBtn" type="text" @click="handlePasswordLogin('password')">密码登录</el-button>
......@@ -408,7 +410,7 @@ export default {
}
},
handleLogin() {
this.$refs.loginForm.validate(valid => {
this.$refs['loginForm'].validate(valid => {
if (valid) {
this.loading = true
if (this.loginType === 'register') {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment