diff --git a/src/components/Table/src/components/settings/ColumnSetting.vue b/src/components/Table/src/components/settings/ColumnSetting.vue index 369010ad4..edac1313f 100644 --- a/src/components/Table/src/components/settings/ColumnSetting.vue +++ b/src/components/Table/src/components/settings/ColumnSetting.vue @@ -313,7 +313,12 @@ } plainSortOptions.value = columns; - setColumns(columns); + + setColumns( + columns + .map((col: Options) => col.value) + .filter((value: string) => state.checkedList.includes(value)), + ); }, }); // 记录原始order 序列