Merge branch 'release/0.9.12' into 'release/0.9.13'

Release/0.9.12



See merge request !946142
This commit is contained in:
力皓 2020-08-24 14:26:28 +08:00
commit 9eba7d9cdd

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