Merge pull request #867 from mijuu/master

修复搜索时,行内编辑保存位置不正确的问题
This commit is contained in:
Lison 2018-08-13 14:14:12 +08:00 committed by GitHub
commit d6640b9ab3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -174,7 +174,7 @@ export default {
this.$emit('on-cancel-edit', params)
},
'on-save-edit': (params) => {
this.value[params.index][params.column.key] = this.edittingText
this.value[params.row.initRowIndex][params.column.key] = this.edittingText
this.$emit('input', this.value)
this.$emit('on-save-edit', Object.assign(params, {value: this.edittingText}))
this.edittingCellId = ''