|
@@ -11,6 +11,11 @@
|
|
|
<i class="el-icon-lock pswdi"></i>
|
|
|
<input type="password" style="padding-left: 12px" placeholder="密码" v-model="form.password">
|
|
|
</div>
|
|
|
+ <div class="password" style="position: relative;">
|
|
|
+ <i class="el-icon-lock pswdi"></i>
|
|
|
+ <input type="text" style="padding-left: 12px" placeholder="验证码" v-model="form.code">
|
|
|
+ <img style="position: absolute;right: 1px;top: 1px;cursor: pointer;" :src="imgUrl" @click="imgUrl=imgUrl+'?'+ Math.random()" />
|
|
|
+ </div>
|
|
|
<div class="checkbox">
|
|
|
<el-checkbox v-model="form.checked" text-color="#ffffff" style="color:#fff;">记住密码</el-checkbox>
|
|
|
<span>忘记密码</span>
|
|
@@ -121,6 +126,7 @@ export default {
|
|
|
});
|
|
|
});
|
|
|
} else {
|
|
|
+ that.imgUrl=that.imgUrl+'?'+ Math.random();
|
|
|
that.$message({
|
|
|
type: 'error',
|
|
|
message: response.data.message
|