Compare commits

..

No commits in common. "86dde0a9e819eeaadb95851cefdf1dd53793360f" and "4733c0fd8f175ee2587fdcd5b1e90ff66a532848" have entirely different histories.

1 changed files with 5 additions and 29 deletions

View File

@ -299,8 +299,7 @@ async function VueInit() {
data: {
unlock: {
my_username: null,
my_password: null,
view: false
my_password: null
}
},
render: h => h(App)
@ -444,8 +443,7 @@ async function VueInit() {
_vm.$message.success(_vm.$t("env:lock:msgBox:lockSuccess"))
_vm.unlock = {
my_username: null,
my_password: null,
view: false
my_password: null
}
isOpen = false
count = 0;
@ -509,21 +507,16 @@ async function VueInit() {
]),
h('el-form-item', {
props: { label: _vm.$t("env:lock:msgBox:form:Password") },
attrs: {
style: "position: relative;"
}
}, [
h('input', {
props: {
value: _vm.unlock.my_password
},
ref: "unlock_my_password_input",
attrs: {
id: 'my_password',
class: 'el-input__inner',
type: _vm.unlock.view ? 'text' : 'password',
autocomplete: 'new-password',
style: "padding-right:25px"
type: 'password',
autocomplete: 'new-password'
},
on: {
change: (event) => {
@ -533,24 +526,7 @@ async function VueInit() {
_vm.unlock.my_password = event.target.value
}
}
}),
h('i', {
attrs: {
id: 'my_password_view',
class: "el-icon-view",
style: "cursor: pointer;position: absolute;top:35%;right:10px"
},
on: {
click: (event) => {
_vm.unlock.view = !_vm.unlock.view
if (_vm.unlock.view) {
_vm.$refs['unlock_my_password_input'].type = "text"
} else {
_vm.$refs['unlock_my_password_input'].type = "password"
}
},
}
}),
})
])
])
])