mirror of
https://github.com/nocobase/nocobase
synced 2024-11-15 06:46:38 +00:00
fix(mobile-client-plugin): avoid primary field error (#2625)
This commit is contained in:
parent
12c811eab3
commit
b918ec5e41
@ -50,6 +50,7 @@ export const ContainerDesigner = () => {
|
||||
if (v) {
|
||||
if (!tabBarSchema) {
|
||||
const pageSchema = findSchema(fieldSchema, 'MPage');
|
||||
await dn.remove(pageSchema);
|
||||
await dn.insertBeforeEnd({
|
||||
type: 'void',
|
||||
'x-component': 'MTabBar',
|
||||
|
Loading…
Reference in New Issue
Block a user