Commit fc9103fd by zhaochengxiang

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

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