mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-02 03:58:07 +08:00
Merge pull request #8174 from wibetter/master
fix(amis-editor): flex组件「弹性设置」配置项变动时不自动添加overflowY和overflowX
This commit is contained in:
commit
7419cdc0a2
@ -581,10 +581,10 @@ setSchemaTpl(
|
||||
if (value === '1 1 auto') {
|
||||
// 弹性
|
||||
if (config?.isFlexColumnItem) {
|
||||
form.setValueByName('style.overflowY', 'auto');
|
||||
// form.setValueByName('style.overflowY', 'auto');
|
||||
form.setValueByName('style.height', undefined);
|
||||
} else {
|
||||
form.setValueByName('style.overflowX', 'auto');
|
||||
// form.setValueByName('style.overflowX', 'auto');
|
||||
form.setValueByName('style.width', undefined);
|
||||
}
|
||||
} else if (value === '0 0 150px') {
|
||||
|
Loading…
Reference in New Issue
Block a user