mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2026-01-19 05:48:17 +00:00
Merge branch 'release/0.9.12' of gitlab.alibaba-inc.com:ali-lowcode/ali-lowcode-engine into release/0.9.12
This commit is contained in:
commit
81c6cff1b3
@ -21,7 +21,7 @@ class SettingFieldView extends Component<{ field: SettingField }> {
|
|||||||
const { prototype } = componentMeta;
|
const { prototype } = componentMeta;
|
||||||
let visible;
|
let visible;
|
||||||
try {
|
try {
|
||||||
visible = field.isSingle && typeof condition === 'function' ? condition(field) !== false : true;
|
visible = typeof condition === 'function' ? condition(field) !== false : true;
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.error('exception when condition (hidden) is excuted', error);
|
console.error('exception when condition (hidden) is excuted', error);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user