mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2026-01-13 09:41:57 +00:00
Merge branch 'release/0.9.12' into 'release/0.9.13'
Release/0.9.12 See merge request !946142
This commit is contained in:
commit
9eba7d9cdd
@ -21,7 +21,7 @@ class SettingFieldView extends Component<{ field: SettingField }> {
|
||||
const { prototype } = componentMeta;
|
||||
let visible;
|
||||
try {
|
||||
visible = field.isSingle && typeof condition === 'function' ? condition(field) !== false : true;
|
||||
visible = typeof condition === 'function' ? condition(field) !== false : true;
|
||||
} catch (error) {
|
||||
console.error('exception when condition (hidden) is excuted', error);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user