Commit e7d85537 by zhaochengxiang

模型状态视角下新增模型, 绑定目录时增加权限控制

parent ef3d1ead
......@@ -172,6 +172,9 @@ const ModelTree = (props) => {
(subCatalogs||[]).forEach(catalog=> {
catalog.key = catalog.id||'';
catalog.title = catalog.name||'';
if (refrence === 'recatalog') {
catalog.disabled = (catalog.optionList||[]).findIndex(item => item.name==='新增'&&!item.enabled)!==-1;
}
catalog.children = catalog.subCatalogs||[];
if (catalog.id === defaultSelectedId) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment