|
|
@@ -30,14 +30,14 @@
|
|
|
auto-complete="off"
|
|
|
:placeholder="$t('login.password')">
|
|
|
<img slot="prefix" src="@/../public/img/bg/login_box_inputIcon3.png" alt="">
|
|
|
- <img
|
|
|
+<!-- <img
|
|
|
slot="suffix"
|
|
|
style="margin-right: 16px"
|
|
|
src="@/../public/img/bg/login_box_inputIcon5.png"
|
|
|
- @click="showPassword" alt="">
|
|
|
+ @click="showPassword" alt="">-->
|
|
|
<img
|
|
|
slot="suffix"
|
|
|
- src="@/../public/img/bg/login_box_inputIcon6.png"
|
|
|
+ :src="require(`@/../public/img/bg/login_box_inputIcon6-${pwdIcon}.png`)"
|
|
|
@click="showPassword" alt="">
|
|
|
</el-input>
|
|
|
</el-form-item>
|
|
|
@@ -82,6 +82,7 @@
|
|
|
name: "userlogin",
|
|
|
data() {
|
|
|
return {
|
|
|
+ pwdIcon: 1,
|
|
|
tenantMode: this.website.tenantMode,
|
|
|
loginForm: {
|
|
|
//租户ID
|
|
|
@@ -206,6 +207,7 @@
|
|
|
}
|
|
|
},
|
|
|
showPassword() {
|
|
|
+ this.pwdIcon = (this.pwdIcon === 1 ? 2 : 1)
|
|
|
this.passwordType === ""
|
|
|
? (this.passwordType = "password")
|
|
|
: (this.passwordType = "");
|