mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-05 05:18:34 +08:00
fix:修复下拉框 valuesNoWrap属性设置
Change-Id: I76f08902d6aeda25cdd3ef0099f8a41d320eaa5a
This commit is contained in:
parent
931fbcc0f4
commit
d40eb818ed
@ -210,7 +210,7 @@ export class SelectControlPlugin extends BasePlugin {
|
||||
getSchemaTpl('clearable'),
|
||||
getSchemaTpl('searchable'),
|
||||
getSchemaTpl('multiple', {
|
||||
popMore: [
|
||||
body: [
|
||||
getSchemaTpl('switch', {
|
||||
label: '单行显示选中值',
|
||||
name: 'valuesNoWrap'
|
||||
|
@ -128,7 +128,7 @@ setSchemaTpl('multiple', (schema: any = {}) => {
|
||||
getSchemaTpl('joinValues'),
|
||||
getSchemaTpl('delimiter'),
|
||||
getSchemaTpl('extractValue'),
|
||||
...[schema.body || []]
|
||||
...(schema?.body || [])
|
||||
]
|
||||
}
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user