no message
Former-commit-id: c80cdb4d00c3017aebd3275bcc0a46845f5f9231 Former-commit-id: 10440e0338dbc27889ac9afa46dceb2d431bf479 Former-commit-id: 754870f69d12484af51bce1d97ef8140201f682f
This commit is contained in:
@@ -110,11 +110,15 @@ export default {
|
||||
await sleep(1000)
|
||||
for (const propName in this.$refs) {
|
||||
if (/^kb-\d+-[a-zA-Z0-9-]+-kb$/.test(propName) && this.$refs.hasOwnProperty(propName)) {
|
||||
const input = this.$refs[propName].$refs.input
|
||||
if (input) {
|
||||
input.addEventListener('keydown', e => {
|
||||
console.log(e)
|
||||
})
|
||||
try {
|
||||
const input = this.$refs[propName].$refs.input
|
||||
if (input) {
|
||||
input.addEventListener('keydown', e => {
|
||||
console.log(e)
|
||||
})
|
||||
}
|
||||
} catch (error) {
|
||||
console.log(error)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user