diff --git a/src/components/VnTable/VnTable.vue b/src/components/VnTable/VnTable.vue index 747ecd03b..31486091b 100644 --- a/src/components/VnTable/VnTable.vue +++ b/src/components/VnTable/VnTable.vue @@ -152,7 +152,7 @@ function splitColumns(columns) { columns: [], chips: [], create: [], - visible: [], + cardVisible: [], }; for (const col of columns) { @@ -160,7 +160,7 @@ function splitColumns(columns) { if (col.chip) splittedColumns.value.chips.push(col); if (col.isTitle) splittedColumns.value.title = col; if (col.create) splittedColumns.value.create.push(col); - if (col.cardVisible) splittedColumns.value.visible.push(col); + if (col.cardVisible) splittedColumns.value.cardVisible.push(col); if ($props.isEditable && col.disable == null) col.disable = false; if ($props.useModel) col.columnFilter = { ...col.columnFilter, inWhere: true }; splittedColumns.value.columns.push(col); @@ -311,7 +311,11 @@ defineExpose({ />