fix: 工况库
This commit is contained in:
@@ -830,11 +830,11 @@ const getColumnsList: any = async (
|
||||
}
|
||||
},
|
||||
rules: [{ required: true, message: '请选择任务类型', trigger: 'change' }],
|
||||
displayType: [NODE_TYPE.CATEGORY, NODE_TYPE.TASK],
|
||||
displayType: [NODE_TYPE.CATEGORY, NODE_TYPE.TASK, NODE_TYPE.PERFORMANCE],
|
||||
disabled: (row: any, operationType: string) => {
|
||||
// if (isCategoryNodeType(row.nodeType) && operationType === 'add') {
|
||||
// return false;
|
||||
// }
|
||||
if (isCategoryNodeType(row.nodeType) && operationType === 'add') {
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user