|
@@ -65,6 +65,7 @@ export default class HTableForm {
|
|
setTimeout(() => {
|
|
setTimeout(() => {
|
|
const KeyName = event?.target?.getAttribute('keyname') || ''
|
|
const KeyName = event?.target?.getAttribute('keyname') || ''
|
|
if (onRight) {
|
|
if (onRight) {
|
|
|
|
+ event.preventDefault();
|
|
onRight(event, KeyName)
|
|
onRight(event, KeyName)
|
|
}
|
|
}
|
|
}, 100)
|
|
}, 100)
|
|
@@ -123,9 +124,11 @@ export default class HTableForm {
|
|
},
|
|
},
|
|
//输入左键点击事件
|
|
//输入左键点击事件
|
|
inputLeftClick(event, key) {
|
|
inputLeftClick(event, key) {
|
|
- if (onLeftClick) {
|
|
|
|
- onLeftClick(key)
|
|
|
|
- }
|
|
|
|
|
|
+ setTimeout(() => {
|
|
|
|
+ if (onLeftClick) {
|
|
|
|
+ onLeftClick(key)
|
|
|
|
+ }
|
|
|
|
+ }, 100)
|
|
},
|
|
},
|
|
}
|
|
}
|
|
})
|
|
})
|