mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-02 20:18:03 +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('clearable'),
|
||||||
getSchemaTpl('searchable'),
|
getSchemaTpl('searchable'),
|
||||||
getSchemaTpl('multiple', {
|
getSchemaTpl('multiple', {
|
||||||
popMore: [
|
body: [
|
||||||
getSchemaTpl('switch', {
|
getSchemaTpl('switch', {
|
||||||
label: '单行显示选中值',
|
label: '单行显示选中值',
|
||||||
name: 'valuesNoWrap'
|
name: 'valuesNoWrap'
|
||||||
|
@ -128,7 +128,7 @@ setSchemaTpl('multiple', (schema: any = {}) => {
|
|||||||
getSchemaTpl('joinValues'),
|
getSchemaTpl('joinValues'),
|
||||||
getSchemaTpl('delimiter'),
|
getSchemaTpl('delimiter'),
|
||||||
getSchemaTpl('extractValue'),
|
getSchemaTpl('extractValue'),
|
||||||
...[schema.body || []]
|
...(schema?.body || [])
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user