We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0294a72 commit 04134ddCopy full SHA for 04134dd
src/views/login/index.vue
@@ -138,8 +138,9 @@ export default {
138
// window.removeEventListener('storage', this.afterQRScan)
139
},
140
methods: {
141
- checkCapslock({ shiftKey, key } = {}) {
142
- this.capsTooltip = key && key.length === 1 && ((shiftKey && (key >= 'A' && key <= 'Z')) || (!shiftKey && (key >= 'A' && key <= 'Z')))
+ checkCapslock(e) {
+ const { key } = e
143
+ this.capsTooltip = key && key.length === 1 && (key >= 'A' && key <= 'Z')
144
145
showPwd() {
146
if (this.passwordType === 'password') {
0 commit comments