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
7396120a
Commit
7396120a
authored
Jun 09, 2025
by
放生的三文鱼
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
未挂载的表头
parent
ed0ac113
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
6 deletions
+4
-6
recycle.jsx
src/view/Manage/AssetDraft/recycle.jsx
+2
-4
AssetTable.jsx
src/view/Manage/AssetManage/Component/AssetTable.jsx
+2
-2
No files found.
src/view/Manage/AssetDraft/recycle.jsx
View file @
7396120a
...
...
@@ -69,9 +69,8 @@ const FC = (props) => {
const
[
columns
,
tableData
,
total
]
=
React
.
useMemo
(()
=>
{
let
[
newColumns
,
newTableData
]
=
[[],
[]]
for
(
const
element
of
filterElements
??[])
{
for
(
const
name
of
element
.
names
??[])
{
for
(
const
element
of
filterElements
??[])
{
const
name
=
element
.
name
const
column
=
{
title
:
name
,
dataIndex
:
name
,
...
...
@@ -111,7 +110,6 @@ const FC = (props) => {
newColumns
.
push
(
column
)
}
}
if
(
!
loadingFilterElements
)
{
for
(
const
item
of
(
data
?.
data
??[]))
{
...
...
src/view/Manage/AssetManage/Component/AssetTable.jsx
View file @
7396120a
...
...
@@ -303,11 +303,11 @@ const AssetTable = (props) => {
},
[
timestamp
])
useDebounceEffect
(()
=>
{
if
(
reference
!==
AssetRecycleReference
)
{
if
(
reference
!==
AssetRecycleReference
&&
nodeId
)
{
getFilterElementsGroupThenGetDataAssets
();
}
//eslint-disable-next-line react-hooks/exhaustive-deps
},
[
keyword
,
pagination
,
elementsChanged
,
assetActionChanged
,
recursive
,
fullSearch
,
currentElementId
,
nodeId
],
{
wait
:
6
50
})
},
[
keyword
,
pagination
,
elementsChanged
,
assetActionChanged
,
recursive
,
fullSearch
,
currentElementId
,
nodeId
],
{
wait
:
3
50
})
useEffect
(()
=>
{
if
(
reference
===
AssetRecycleReference
)
{
...
...
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