Commit 4fd612c1 by zhaochengxiang

放开服务同步

parent 216ff8fb
...@@ -541,7 +541,10 @@ const ModelTree = (props) => { ...@@ -541,7 +541,10 @@ const ModelTree = (props) => {
} */} } */}
{ {
(viewSelectedKey==='dir' && getDataModelerRole(user)===DataModelerRoleAdmin) && isSetRootId && ( (viewSelectedKey==='dir')
// && getDataModelerRole(user)===DataModelerRoleAdmin)
// && isSetRootId
&& (
<Tooltip title="同步目录" className='ml-6'> <Tooltip title="同步目录" className='ml-6'>
<Button type='text' icon={<SwapOutlined className='default' style={{ transform: 'rotate(90deg)' }} />} size='small' onClick={sync} /> <Button type='text' icon={<SwapOutlined className='default' style={{ transform: 'rotate(90deg)' }} />} size='small' onClick={sync} />
</Tooltip> </Tooltip>
......
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