Skip to content

Commit e931d50

Browse files
committed
fix: editable mode check
1 parent b57b7cf commit e931d50

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/components/VisTable.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ function isEmpty(value: any) {
184184
}
185185
186186
function hasChanged(col: number, row: any) {
187-
if (!instance)
187+
if (!props.editable || !instance)
188188
return false
189189
const record = instance.records[row - 1]
190190
if (!record)

0 commit comments

Comments
 (0)