mirror of
https://gitee.com/baidu/amis.git
synced 2024-11-29 18:48:45 +08:00
fix(amis-saas-10449): 特殊布局容器不显示滚动吸附配置项
Change-Id: Ib638a76e56535bb2252f2027609333fdd8ac9d74
This commit is contained in:
parent
c801d24313
commit
a667a85296
@ -318,7 +318,9 @@ export class ContainerPlugin extends LayoutBasePlugin {
|
||||
visibleOn: 'data.style && data.style.display !== "flex" && data.style.display !== "inline-flex"'
|
||||
}) : null,
|
||||
getSchemaTpl('layout:z-index'),
|
||||
getSchemaTpl('layout:sticky'),
|
||||
getSchemaTpl('layout:sticky', {
|
||||
visibleOn: 'data.style && (data.style.position !== "fixed" && data.style.position !== "absolute")'
|
||||
}),
|
||||
getSchemaTpl('layout:stickyPosition')
|
||||
]
|
||||
},
|
||||
|
@ -308,7 +308,9 @@ export class FlexPluginBase extends LayoutBasePlugin {
|
||||
|
||||
!isFlexItem ? getSchemaTpl('layout:margin-center') : null,
|
||||
getSchemaTpl('layout:z-index'),
|
||||
!isSorptionContainer && getSchemaTpl('layout:sticky'),
|
||||
!isSorptionContainer && getSchemaTpl('layout:sticky', {
|
||||
visibleOn: 'data.style && (data.style.position !== "fixed" && data.style.position !== "absolute")'
|
||||
}),
|
||||
getSchemaTpl('layout:stickyPosition')
|
||||
]
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user