Skip to content

Commit b234c9f

Browse files
committed
fix(Table): sync columnCheckboxKeys on close
1 parent 5e3b31b commit b234c9f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/table/hooks/useColumnController.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -232,6 +232,7 @@ export default function useColumnController(props: TdPrimaryTableProps, context:
232232
}
233233
},
234234
onClose: () => {
235+
columnCheckboxKeys.value = tDisplayColumns.value;
235236
// 此处逻辑不要随意改动,涉及到 内置列配置按钮 和 不包含列配置按钮等场景
236237
if (columnControllerVisible.value === undefined) {
237238
dialogInstance.value.hide();

0 commit comments

Comments
 (0)