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

This commit is contained in:
zhangdaiscott 2020-12-04 11:21:51 +08:00
parent 0d299d9a98
commit dbdc586830
2 changed files with 4 additions and 0 deletions

View File

@ -864,6 +864,8 @@ export default {
trigger(name, event = {}) {
event.$target = this
event.$table = this.$refs.vxe
//online增强参数兼容
event.target = this
this.$emit(name, event)
},

View File

@ -149,6 +149,8 @@ export default {
packageEvent(name, event = {}) {
event.row = this.row
event.column = this.column
//online增强参数兼容
event.column['key'] = this.column['property']
event.cellTarget = this
if (!event.type) {
event.type = name