Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
szse
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zhaochengxiang
szse
Commits
fc9103fd
Commit
fc9103fd
authored
Mar 14, 2022
by
zhaochengxiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
未挂载资产下去除不需要的操作
parent
72c74cbd
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
6 deletions
+10
-6
constant.js
src/util/constant.js
+2
-2
AssetTable.jsx
src/view/Manage/AssetManage/Component/AssetTable.jsx
+8
-4
No files found.
src/util/constant.js
View file @
fc9103fd
...
...
@@ -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
src/view/Manage/AssetManage/Component/AssetTable.jsx
View file @
fc9103fd
...
...
@@ -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
?
'取消全屏'
:
'全屏'
}
>
<
Button
onClick=
{
onFullScreenClick
}
icon=
{
fullScreen
?<
CancelFullScreenSvg
style=
{
{
width
:
20
,
height
:
20
}
}
/>:<
FullScreenSvg
style=
{
{
width
:
20
,
height
:
20
}
}
/>
}
type=
'text'
></
Button
>
</
Tooltip
>
{
(
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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment