no message
Former-commit-id: 76e8fed093a4c2266f23847b3f5ac5f53ba00623 Former-commit-id: 499908da686cd01e440f062e3e7bab3e90a840ae Former-commit-id: 05c0e0a07822255bf1b919fe8661bf367551d93a
This commit is contained in:
@@ -109,9 +109,7 @@ export default {
|
||||
async keyboardExtentInit () {
|
||||
await sleep(1000)
|
||||
for (const propName in this.$refs) {
|
||||
const reg = /^kb-\d+-[a-zA-Z0-9-]+-kb$/
|
||||
console.log(reg.test(propName))
|
||||
if (this.$refs.hasOwnProperty(propName)) {
|
||||
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 => {
|
||||
|
||||
Reference in New Issue
Block a user