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