fix: crud2自定义列无法关闭问题修复Close:#9283 (#9327)

Co-authored-by: wanglinfang <wanglinfang@baidu.com>
This commit is contained in:
wanglinfang2014 2024-01-05 16:13:47 +08:00 committed by GitHub
parent 0a1513c089
commit df4d287dc9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1354,6 +1354,8 @@ export default class CRUD2 extends React.Component<CRUD2Props, any> {
selectable: !!(selectable ?? pickerMode),
itemActions,
multiple: multiple,
// columnsTogglable在CRUD2中渲染 但需要给table2传columnsTogglable为false 否则列数超过5 table2会自动渲染
columnsTogglable: false,
selected:
pickerMode || keepItemSelectionOnPageChange
? store.selectedItemsAsArray