Commit a92acd85 by zhaochengxiang

模型管理员权限

parent b43a1710
...@@ -130,7 +130,7 @@ const ModelTree = (props) => { ...@@ -130,7 +130,7 @@ const ModelTree = (props) => {
dispatch({ dispatch({
type: 'datamodel.getPrivilegeAdmin', type: 'datamodel.getPrivilegeAdmin',
callback: data => { callback: data => {
setAdmin(data); setAdmin(data==='true'?true:false);
} }
}); });
} }
......
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