refix: 对象在无历史流程节点时的显示 (#9)

This commit is contained in:
Guard
2020-05-13 11:14:47 +08:00
committed by Dmitry Nagibin
parent 7a0c172936
commit eebc9ab349
@@ -197,7 +197,7 @@ export default {
return fieldSchema.ui && fieldSchema.ui.showLegend && fieldSchema.ui.legend;
},
hidden(fieldSchema) {
if (fieldSchema || !fieldSchema.ui || fieldSchema.ui.process === true || fieldSchema.ui.process === undefined) {
if ( !fieldSchema || fieldSchema.ui.process === true || fieldSchema.ui.process === undefined ) {
return this._analyzeVal(fieldSchema.ui.hidden);
}
let nodeCodeArr = this.globalConst.nodeCodeArr || []