fix: amis-saas-9526 测试:【组件优化第六批】组合输入combo组件外观配置下的选项卡多行配置项隐藏;

Change-Id: I421b753835634e032cac527f37d01ac2fa58f3e7
This commit is contained in:
zhou999 2023-03-03 11:34:07 +08:00
parent d6d9a5cec6
commit 2ffee602bb

View File

@ -564,6 +564,7 @@ export class ComboControlPlugin extends BasePlugin {
name: 'multiLine',
label: '多行展示',
pipeIn: defaultValue(false),
visibleOn: '!data.tabsMode',
onChange: (
value: boolean,
oldValue: any,
@ -577,7 +578,7 @@ export class ComboControlPlugin extends BasePlugin {
}
}),
getSchemaTpl('switch', {
visibleOn: 'data.multiLine',
visibleOn: '!data.tabsMode && data.multiLine',
name: 'noBorder',
label: '去掉边框',
pipeIn: defaultValue(false)