fix: hide add tab button

This commit is contained in:
chenos 2022-12-18 09:44:01 +08:00
parent 28fadf945d
commit a403e22439

View File

@ -163,6 +163,7 @@ export const Page = (props) => {
}, 50); }, 50);
}} }}
tabBarExtraContent={ tabBarExtraContent={
dn.designable && (
<Button <Button
className={css` className={css`
border-color: rgb(241, 139, 98) !important; border-color: rgb(241, 139, 98) !important;
@ -210,6 +211,7 @@ export const Page = (props) => {
> >
Add tab Add tab
</Button> </Button>
)
} }
> >
{fieldSchema.mapProperties((schema) => { {fieldSchema.mapProperties((schema) => {