Commit 2f8bec55 by zhaochengxiang

资产自定义

parent aff703a6
......@@ -118,7 +118,7 @@ const AssetTree = (props) => {
setUpdateDirectoryAction('edit');
setUpdateDirectoryModalVisible(true);
} else if (currentDirType === 'custom-root') {
} else if (currentDirType === 'custom-root'|| currentDirType === 'custom') {
setCustomDirectoryAction('edit');
setCustomDirectoryModalVisible(true);
......@@ -290,7 +290,7 @@ const AssetTree = (props) => {
<Button shape="circle" icon={<PlusOutlined />} onClick={addDir} disabled={currentDirType==='custom-root'||currentDirType==='custom'} />
</Tooltip>
<Tooltip title="修改">
<Button shape="circle" icon={<EditOutlined />} onClick={editDir} disabled={currentDirType==='custom'}/>
<Button shape="circle" icon={<EditOutlined />} onClick={editDir} />
</Tooltip>
<Tooltip title="刷新">
<Button shape="circle" icon={<SyncOutlined />} onClick={refreshTree} />
......
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