|
@@ -231,9 +231,9 @@ const setTableFormBlurReg = (pkeyId, event, key, reg, val, msg, pid) => {
|
|
|
}
|
|
|
|
|
|
//鼠标右键事件
|
|
|
-const onRightClick = (pkeyId, event, KeyName, pid) => {
|
|
|
+const onRightClick = async (pkeyId, event, KeyName, pid) => {
|
|
|
//取光标位置
|
|
|
- const specialDom = HTableForm.getQuerySelector(KeyName, pid)
|
|
|
+ const specialDom = await HTableForm.getQuerySelector(KeyName, pid)
|
|
|
//const specialDom = document.getElementById(KeyName + "")
|
|
|
const startPos = specialDom?.selectionStart || 0
|
|
|
const endPos = specialDom?.selectionEnd || 0
|