Commit fc9103fd by zhaochengxiang

未挂载资产下去除不需要的操作

parent 72c74cbd
......@@ -21,4 +21,4 @@ export const AssetManageReference = 'asset-manage';
export const AssetBrowseReference = 'asset-browse';
export const ResourceBrowseReference = 'resource-browse';
export const AssetRecycleReference = 'asset-recycle';
export const AssetMountReference = 'asset-mount'
\ No newline at end of file
export const AssetMountReference = 'asset-mount';
\ No newline at end of file
......@@ -558,7 +558,9 @@ const AssetTable = (props) => {
<Button onClick={onFilterElementClick}>要素设置</Button>
</React.Fragment>
}
<Checkbox onChange={onRecursiveChange} checked={!recursive}>仅显示当前目录</Checkbox>
{
(reference!==AssetRecycleReference) && <Checkbox onChange={onRecursiveChange} checked={!recursive}>仅显示当前目录</Checkbox>
}
</Space>
<Space>
<InputDebounce
......@@ -568,9 +570,11 @@ const AssetTable = (props) => {
onChange={onSearchInputChange}
style={{ width: inputWidth }}
/>
<Tooltip title={fullScreen?'取消全屏':'全屏'}>
{
(reference!==AssetRecycleReference) && <Tooltip title={fullScreen?'取消全屏':'全屏'}>
<Button onClick={onFullScreenClick} icon={fullScreen?<CancelFullScreenSvg style={{ width: 20, height: 20 }} />:<FullScreenSvg style={{ width: 20, height: 20 }} />} type='text'></Button>
</Tooltip>
}
</Space>
</div>
<div
......
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