mirror of
https://github.com/PanJiaChen/vue-element-admin.git
synced 2025-09-03 23:19:49 +08:00
update
This commit is contained in:
parent
0294a72b33
commit
04134dd95a
@ -138,8 +138,9 @@ export default {
|
|||||||
// window.removeEventListener('storage', this.afterQRScan)
|
// window.removeEventListener('storage', this.afterQRScan)
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
checkCapslock({ shiftKey, key } = {}) {
|
checkCapslock(e) {
|
||||||
this.capsTooltip = key && key.length === 1 && ((shiftKey && (key >= 'A' && key <= 'Z')) || (!shiftKey && (key >= 'A' && key <= 'Z')))
|
const { key } = e
|
||||||
|
this.capsTooltip = key && key.length === 1 && (key >= 'A' && key <= 'Z')
|
||||||
},
|
},
|
||||||
showPwd() {
|
showPwd() {
|
||||||
if (this.passwordType === 'password') {
|
if (this.passwordType === 'password') {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user