mirror of
https://gitee.com/nocobase/nocobase.git
synced 2025-05-07 14:39:25 +08:00
fix: deleting the last field from sub table, the entire table will be deleted
This commit is contained in:
parent
a3805e3b02
commit
efcf229d38
@ -75,7 +75,7 @@ export const SubTable: any = observer(
|
||||
.ant-table table {
|
||||
}
|
||||
td:not(.ant-table-selection-column) {
|
||||
padding: 0 !important;
|
||||
padding: 5 !important;
|
||||
}
|
||||
`}
|
||||
bordered
|
||||
|
@ -282,7 +282,7 @@ export const TableColumnDesigner = (props) => {
|
||||
)}
|
||||
<SchemaSettings.Divider />
|
||||
<SchemaSettings.Remove
|
||||
removeParentsIfNoChildren
|
||||
removeParentsIfNoChildren={!isSubTableColumn}
|
||||
breakRemoveOn={{
|
||||
'x-component': 'Grid',
|
||||
}}
|
||||
|
Loading…
x
Reference in New Issue
Block a user