fix:修复下拉框 valuesNoWrap属性设置

Change-Id: I76f08902d6aeda25cdd3ef0099f8a41d320eaa5a
This commit is contained in:
jiatianqi 2022-07-20 21:07:29 +08:00
parent 931fbcc0f4
commit d40eb818ed
2 changed files with 2 additions and 2 deletions

View File

@ -210,7 +210,7 @@ export class SelectControlPlugin extends BasePlugin {
getSchemaTpl('clearable'),
getSchemaTpl('searchable'),
getSchemaTpl('multiple', {
popMore: [
body: [
getSchemaTpl('switch', {
label: '单行显示选中值',
name: 'valuesNoWrap'

View File

@ -128,7 +128,7 @@ setSchemaTpl('multiple', (schema: any = {}) => {
getSchemaTpl('joinValues'),
getSchemaTpl('delimiter'),
getSchemaTpl('extractValue'),
...[schema.body || []]
...(schema?.body || [])
]
}
};