diff --git a/src/components/JExpandTable.vue b/src/components/JExpandTable.vue index b920fae6..f3308eeb 100644 --- a/src/components/JExpandTable.vue +++ b/src/components/JExpandTable.vue @@ -283,7 +283,7 @@ export default { } else { arr[i] = true } - } else if (this.dataSource[i][this.lineCanExpandField] !== this.lineCanExpandValue) { + } else if (this.lineCanExpandField && this.dataSource[i][this.lineCanExpandField] !== this.lineCanExpandValue) { // 如果这行数据本身不需要填写 arr[i] = true } else {