mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-15 17:31:18 +08:00
fix(amis-saas-4371): 剔除布局容器中外观配置面板中的重复配置项
Change-Id: I2c284de8c4c2de395f5e876a990d12426807d345
This commit is contained in:
parent
78aad3c37d
commit
0790058ea9
@ -164,7 +164,7 @@ export class ContainerPlugin extends BasePlugin {
|
||||
title: '外观',
|
||||
className: 'p-none',
|
||||
body: getSchemaTpl('collapseGroup', [
|
||||
...getSchemaTpl('style:common', [], ['layout']),
|
||||
...getSchemaTpl('style:common', ['layout']),
|
||||
getSchemaTpl('style:classNames', {
|
||||
isFormItem: false,
|
||||
schema: [
|
||||
@ -173,8 +173,7 @@ export class ContainerPlugin extends BasePlugin {
|
||||
label: '内容区'
|
||||
})
|
||||
]
|
||||
}),
|
||||
...getSchemaTpl('style:common', ['layout']),
|
||||
})
|
||||
])
|
||||
}
|
||||
]);
|
||||
|
@ -199,7 +199,7 @@ export class WrapperPlugin extends BasePlugin {
|
||||
title: '外观',
|
||||
className: 'p-none',
|
||||
body: getSchemaTpl('collapseGroup', [
|
||||
...getSchemaTpl('style:common'),
|
||||
...getSchemaTpl('style:common', ['layout']),
|
||||
{
|
||||
title: 'CSS 类名',
|
||||
body: [
|
||||
|
@ -193,7 +193,7 @@ setSchemaTpl(
|
||||
}
|
||||
});
|
||||
|
||||
// 展示模式
|
||||
// 显示类型
|
||||
setSchemaTpl(
|
||||
'layout:display',
|
||||
(config?: {
|
||||
@ -207,7 +207,7 @@ setSchemaTpl(
|
||||
}) => {
|
||||
const configSchema = {
|
||||
type: 'select',
|
||||
label: config?.label || tipedLabel('展示模式', '默认为块级,可设置为弹性布局模式(flex布局容器)'),
|
||||
label: config?.label || tipedLabel('显示类型', '默认为块级,可设置为弹性布局模式(flex布局容器)'),
|
||||
name: config?.name || 'style.display',
|
||||
value: config?.value || 'block',
|
||||
visibleOn: config?.visibleOn,
|
||||
|
Loading…
Reference in New Issue
Block a user