Skip to content

Commit a1df9c3

Browse files
authored
fix(grid): fix grid prop editConfig is null (#3887)
1 parent 3351336 commit a1df9c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/vue/src/grid/src/table/src/methods.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -682,7 +682,7 @@ const Methods = {
682682
},
683683
hasRowChange(row, field) {
684684
const { treeConfig, visibleColumn, editConfig = {} } = this
685-
const { insertChanged = false } = editConfig
685+
const insertChanged = editConfig?.insertChanged ?? false
686686
const argsLength = arguments.length
687687
let originRow
688688
// 新增的数据不需要检测

0 commit comments

Comments
 (0)