mirror of
https://gitee.com/nocobase/nocobase.git
synced 2025-05-08 06:59:26 +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 {
|
.ant-table table {
|
||||||
}
|
}
|
||||||
td:not(.ant-table-selection-column) {
|
td:not(.ant-table-selection-column) {
|
||||||
padding: 0 !important;
|
padding: 5 !important;
|
||||||
}
|
}
|
||||||
`}
|
`}
|
||||||
bordered
|
bordered
|
||||||
|
@ -282,7 +282,7 @@ export const TableColumnDesigner = (props) => {
|
|||||||
)}
|
)}
|
||||||
<SchemaSettings.Divider />
|
<SchemaSettings.Divider />
|
||||||
<SchemaSettings.Remove
|
<SchemaSettings.Remove
|
||||||
removeParentsIfNoChildren
|
removeParentsIfNoChildren={!isSubTableColumn}
|
||||||
breakRemoveOn={{
|
breakRemoveOn={{
|
||||||
'x-component': 'Grid',
|
'x-component': 'Grid',
|
||||||
}}
|
}}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user