diff --git a/packages/plugins/mobile-client/src/client/core/schema/components/container/Container.Designer.tsx b/packages/plugins/mobile-client/src/client/core/schema/components/container/Container.Designer.tsx index ceffb08ce..9f130f5bf 100644 --- a/packages/plugins/mobile-client/src/client/core/schema/components/container/Container.Designer.tsx +++ b/packages/plugins/mobile-client/src/client/core/schema/components/container/Container.Designer.tsx @@ -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',