mirror of
https://gitee.com/baidu/amis.git
synced 2024-11-30 19:17:54 +08:00
Merge "fix:修复下拉框 valuesNoWrap属性设置" into feat-optimize-4
This commit is contained in:
commit
42b0428ec3
@ -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