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:
mario.gk 2020-08-24 17:05:51 +08:00
commit 81c6cff1b3

View File

@ -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);
}