提交 341830c5 编写于 作者: JEECG低代码平台's avatar JEECG低代码平台

2.4版本更新后子表onlChange方法不生效 #2059

上级 ff45fe48
...@@ -864,6 +864,8 @@ export default { ...@@ -864,6 +864,8 @@ export default {
trigger(name, event = {}) { trigger(name, event = {}) {
event.$target = this event.$target = this
event.$table = this.$refs.vxe event.$table = this.$refs.vxe
//online增强参数兼容
event.target = this
this.$emit(name, event) this.$emit(name, event)
}, },
......
...@@ -149,6 +149,8 @@ export default { ...@@ -149,6 +149,8 @@ export default {
packageEvent(name, event = {}) { packageEvent(name, event = {}) {
event.row = this.row event.row = this.row
event.column = this.column event.column = this.column
//online增强参数兼容
event.column['key'] = this.column['property']
event.cellTarget = this event.cellTarget = this
if (!event.type) { if (!event.type) {
event.type = name event.type = name
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册