|
@@ -85,11 +85,11 @@ export default class HTableForm {
|
|
|
this.formData = obj
|
|
|
},
|
|
|
// 右键菜单点击处理
|
|
|
- contextmenuClick(event) {
|
|
|
+ contextmenuClick(a, b, c, d, e, f, event) {
|
|
|
event.preventDefault()
|
|
|
},
|
|
|
// 右键点击处理
|
|
|
- RightClick(event) {
|
|
|
+ RightClick(a, b, c, d, e, f, event) {
|
|
|
setTimeout(() => {
|
|
|
const KeyName = event?.target?.getAttribute('keyname') || ''
|
|
|
if (onRight) {
|
|
@@ -115,7 +115,7 @@ export default class HTableForm {
|
|
|
this.formData[key] = ''
|
|
|
},
|
|
|
// 正则表达式验证
|
|
|
- getRegularExpression(event, reg, msg, leng, type) {
|
|
|
+ getRegularExpression(event, reg, msg, a, b, leng, type, c, d) {
|
|
|
const KeyName = event?.target?.getAttribute('keyname') || ''
|
|
|
if (onBlur) {
|
|
|
onBlur(event, KeyName, reg, this.formData[KeyName], msg, leng, type)
|